summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2004-02-12 20:46:18 +0000
committerjmc <jmc@openbsd.org>2004-02-12 20:46:18 +0000
commitc2dca2197cf94091ee31ca3879cf7c165721ab3d (patch)
treef57e90f79bd04159232e83c2a5929b3ad15afb29
parentAdd missing \n to logit(), reverse logic on asprintf error so the error case (diff)
downloadwireguard-openbsd-c2dca2197cf94091ee31ca3879cf7c165721ab3d.tar.xz
wireguard-openbsd-c2dca2197cf94091ee31ca3879cf7c165721ab3d.zip
some typos and macro simplification;
-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 59bf771d24e..719ffcda258 100644
--- a/bin/ed/ed.1
+++ b/bin/ed/ed.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ed.1,v 1.46 2004/01/31 13:00:57 jmc Exp $
+.\" $OpenBSD: ed.1,v 1.47 2004/02/12 20:46:18 jmc Exp $
.\"
.\" Copyright (c) 1993 Andrew Moore, Talke Studio.
.\" All rights reserved.
@@ -330,7 +330,7 @@ and
matches itself.
.It \&.
Matches any single character.
-.It [ Ns Ar char-class Ns ]
+.It Bq Ar char-class
Matches any single character in
.Ar char-class .
To include a
@@ -380,7 +380,7 @@ is a collating element are interpreted according to
See
.Xr regex 3
for an explanation of these constructs.
-.It [^ Ns Ar char-class Ns ]
+.It Bq ^ Ns Ar char-class
Matches any single character, other than newline, not in
.Ar char-class .
.Ar char-class
@@ -583,7 +583,7 @@ For each matching line, the line is printed, the current address is set,
and the user is prompted to enter a
.Ar command-list .
At the end of the
-.Ic g
+.Ic G
command, the current address is set to the last line affected by
.Pq the last
command-list.
@@ -647,7 +647,7 @@ Prints the addressed lines.
The current address is set to the last line printed.
.It Ic P
Toggles the command prompt on and off.
-Unless a prompt was specified by with command-line option
+Unless a prompt was specified with the command-line option
.Fl p Ar string ,
the command prompt is by default turned off.
.It Ic q
@@ -723,7 +723,7 @@ affected is printed as though the print suffix
were specified.
.Pp
An unescaped
-.Ql \e
+.Ql &
in
.Ar replacement
is replaced by the currently matched text.