summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-07-30 09:23:35 +0000
committerschwarze <schwarze@openbsd.org>2019-07-30 09:23:35 +0000
commitd01da9da9f4cfc4fe4f0932604fb6beb1407d7c6 (patch)
tree26cb78e23fb76d74a5725313e1638edb184f338d /bin
parentPrevious version accidentally enabled VMM_DEBUG, so turn that off. (diff)
downloadwireguard-openbsd-d01da9da9f4cfc4fe4f0932604fb6beb1407d7c6.tar.xz
wireguard-openbsd-d01da9da9f4cfc4fe4f0932604fb6beb1407d7c6.zip
In addresses, consistently use "+" rather than ".+1".
Both have the same meaning, but the former is explicitly defined in this manual page as "the next line" whereas the latter requires combining various pieces of information for understanding. Unification suggested and patch OK'ed by martijn@.
Diffstat (limited to 'bin')
-rw-r--r--bin/ed/ed.112
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/ed/ed.1 b/bin/ed/ed.1
index ec8d1c25955..6789733222f 100644
--- a/bin/ed/ed.1
+++ b/bin/ed/ed.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ed.1,v 1.74 2019/07/20 15:28:54 schwarze Exp $
+.\" $OpenBSD: ed.1,v 1.75 2019/07/30 09:23:35 schwarze Exp $
.\"
.\" Copyright (c) 1993 Andrew Moore, Talke Studio.
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 20 2019 $
+.Dd $Mdocdate: July 30 2019 $
.Dt ED 1
.Os
.Sh NAME
@@ -444,7 +444,7 @@ Prints an explanation of the last error.
Inserts text in the buffer before the current line.
Text is entered in input mode.
The current address is set to the last line entered.
-.It (.,.+1) Ns Ic j
+.It (.,+) Ns Ic j
Joins the addressed lines.
The addressed lines are deleted from the buffer and replaced by a single
line containing their joined text.
@@ -675,7 +675,7 @@ This is similar to the
.Ic w
command, except that the previous contents of file are not clobbered.
The current address is unchanged.
-.It (.+1) Ns Ic z Ns Ar n
+.It (+) Ns Ic z Ns Ar n
Scrolls
.Ar n
lines at a time starting at addressed line.
@@ -685,10 +685,10 @@ is not specified, then the current window size is used.
The current address is set to the last line printed.
.It ($) Ns Ic =
Prints the line number of the addressed line.
-.It (.+1)
+.It (+)
An address without a command prints the addressed line
and sets the current address to that line.
-If the address is also omitted, it defaults to the next line (.+1).
+If the address is also omitted, it defaults to the next line (+).
.It Ic \&! Ns Ar command
Executes
.Ar command