summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ,