summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-07-30 09:23:36 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-07-30 09:23:36 +0000
commit191332fc270ca77eb566613ece6402d0e9e40f34 (patch)
tree502318ca9bb502a1f7a0e8940e31974ddff4048b
parent7fafb4a9614ecbddbae297486cfb89915abe1413 (diff)
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@.
-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