summaryrefslogtreecommitdiff
path: root/bin/ed
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-05-29 19:09:36 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-05-29 19:09:36 +0000
commita95277ee42d3679be7400754045bc2619d33f8b9 (patch)
tree3d41c21925f7d9c008672081a99f408ee0dad409 /bin/ed
parent866ef0ee22f26c244dcd5b13ffe5953b1df44527 (diff)
- section reorder
- correct macro - escape some whitespace
Diffstat (limited to 'bin/ed')
-rw-r--r--bin/ed/ed.124
1 files changed, 12 insertions, 12 deletions
diff --git a/bin/ed/ed.1 b/bin/ed/ed.1
index 15993dcdc63..4fc2189debf 100644
--- a/bin/ed/ed.1
+++ b/bin/ed/ed.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ed.1,v 1.40 2003/04/28 06:27:36 jmc Exp $
+.\" $OpenBSD: ed.1,v 1.41 2003/05/29 19:09:35 jmc Exp $
.\"
.\" Copyright (c) 1993 Andrew Moore, Talke Studio.
.\" All rights reserved.
@@ -421,11 +421,11 @@ For example, the regular expression
matches the beginning of the string
.Em abbb
(as opposed to the substring
-.Em bbb Ns No ),
+.Em bbb ) ,
since a null match is the only leftmost match.
.Sm off
.It Xo Em \e{ No n,m
-.Em \e}\ \e{ No n, Em \e}\
+.Em \e}\ \e{ No n, Em \e}\ \&
.Em \e{ No n Em \e}
.Xc
.Sm on
@@ -866,6 +866,15 @@ appends one on reading/writing it.
In the case of a binary file,
.Nm
does not append a newline on reading/writing.
+.Sh FILES
+.Bl -tag -width /tmp/ed.* -compact
+.It Pa /tmp/ed.*
+buffer file
+.It Pa ed.hup
+where
+.Nm
+attempts to write the buffer if the terminal hangs up
+.El
.Sh DIAGNOSTICS
When an error occurs,
.Nm
@@ -899,15 +908,6 @@ If diagnostics are not disabled, attempting to quit
or edit another file before writing a modified buffer results in an error.
If the command is entered a second time, it succeeds,
but any changes to the buffer are lost.
-.Sh FILES
-.Bl -tag -width /tmp/ed.* -compact
-.It Pa /tmp/ed.*
-buffer file
-.It Pa ed.hup
-where
-.Nm
-attempts to write the buffer if the terminal hangs up
-.El
.Sh SEE ALSO
.Xr bdes 1 ,
.Xr sed 1 ,