aboutsummaryrefslogtreecommitdiffstats
path: root/man7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-09-24 10:23:07 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2012-09-24 10:23:07 +0200
commit9f8e673e623dc6fbae517885f4161a29e9c24d1d (patch)
tree640be3c83321e9a56832c4532bf0b1ba780cfba3 /man7
parent6c1544c1325437c9d1dc53c73c6c5fe72d3f62b3 (diff)
downloadman-pages-9f8e673e623dc6fbae517885f4161a29e9c24d1d.tar.gz
time.1, atexit.3, bsearch.3, dlopen.3, envz_add.3, errno.3, fmtmsg.3, getgrent_r.3, getline.3, getmntent.3, getnameinfo.3, getpass.3, getpwent_r.3, gets.3, isalpha.3, printf.3, puts.3, recno.3, scandir.3, stdarg.3, sysconf.3, termios.3, wordexp.3, null.4, core.5, dir_colors.5, issue.5, proc.5, termcap.5, utmp.5, ascii.7, cpuset.7, glob.7, man-pages.7, man.7, mdoc.7, mdoc.samples.7, regex.7: Global fix: use \\ rather than \e for literal backslash
Reported-by: Jan Engelhardt <jengelh@inai.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7')
-rw-r--r--man7/ascii.724
-rw-r--r--man7/cpuset.72
-rw-r--r--man7/glob.74
-rw-r--r--man7/man-pages.72
-rw-r--r--man7/man.750
-rw-r--r--man7/mdoc.72
-rw-r--r--man7/mdoc.samples.7114
-rw-r--r--man7/regex.722
8 files changed, 110 insertions, 110 deletions
diff --git a/man7/ascii.7 b/man7/ascii.7
index c9d82450a2..634e368425 100644
--- a/man7/ascii.7
+++ b/man7/ascii.7
@@ -43,7 +43,7 @@ The international counterpart of ASCII is known as ISO 646.
.LP
The following table contains the 128 ASCII characters.
.LP
-C program \f(CW\(aq\eX\(aq\fP escapes are noted.
+C program \f(CW\(aq\\X\(aq\fP escapes are noted.
.if t \{\
.ft CW
\}
@@ -51,20 +51,20 @@ C program \f(CW\(aq\eX\(aq\fP escapes are noted.
l l l l l l l l.
Oct Dec Hex Char Oct Dec Hex Char
_
-000 0 00 NUL \(aq\e0\(aq 100 64 40 @
+000 0 00 NUL \(aq\\0\(aq 100 64 40 @
001 1 01 SOH (start of heading) 101 65 41 A
002 2 02 STX (start of text) 102 66 42 B
003 3 03 ETX (end of text) 103 67 43 C
004 4 04 EOT (end of transmission) 104 68 44 D
005 5 05 ENQ (enquiry) 105 69 45 E
006 6 06 ACK (acknowledge) 106 70 46 F
-007 7 07 BEL \(aq\ea\(aq (bell) 107 71 47 G
-010 8 08 BS \(aq\eb\(aq (backspace) 110 72 48 H
-011 9 09 HT \(aq\et\(aq (horizontal tab) 111 73 49 I
-012 10 0A LF \(aq\en\(aq (new line) 112 74 4A J
-013 11 0B VT \(aq\ev\(aq (vertical tab) 113 75 4B K
-014 12 0C FF \(aq\ef\(aq (form feed) 114 76 4C L
-015 13 0D CR \(aq\er\(aq (carriage ret) 115 77 4D M
+007 7 07 BEL \(aq\\a\(aq (bell) 107 71 47 G
+010 8 08 BS \(aq\\b\(aq (backspace) 110 72 48 H
+011 9 09 HT \(aq\\t\(aq (horizontal tab) 111 73 49 I
+012 10 0A LF \(aq\\n\(aq (new line) 112 74 4A J
+013 11 0B VT \(aq\\v\(aq (vertical tab) 113 75 4B K
+014 12 0C FF \(aq\\f\(aq (form feed) 114 76 4C L
+015 13 0D CR \(aq\\r\(aq (carriage ret) 115 77 4D M
016 14 0E SO (shift out) 116 78 4E N
017 15 0F SI (shift in) 117 79 4F O
020 16 10 DLE (data link escape) 120 80 50 P
@@ -79,7 +79,7 @@ _
031 25 19 EM (end of medium) 131 89 59 Y
032 26 1A SUB (substitute) 132 90 5A Z
033 27 1B ESC (escape) 133 91 5B [
-034 28 1C FS (file separator) 134 92 5C \e \(aq\e\e\(aq
+034 28 1C FS (file separator) 134 92 5C \\ \(aq\\\\\(aq
035 29 1D GS (group separator) 135 93 5D ]
036 30 1E RS (record separator) 136 94 5E ^
037 31 1F US (unit separator) 137 95 5F \&_
@@ -132,7 +132,7 @@ For convenience, let us give more compact tables in hex and decimal.
------------- ---------------------------------
0: 0 @ P \` p 0: ( 2 < F P Z d n x
1: ! 1 A Q a q 1: ) 3 = G Q [ e o y
-2: " 2 B R b r 2: * 4 > H R \e f p z
+2: " 2 B R b r 2: * 4 > H R \\ f p z
3: # 3 C S c s 3: ! + 5 ? I S ] g q {
4: $ 4 D T d t 4: " , 6 @ J T ^ h r |
5: % 5 E U e u 5: # \- 7 A K U _ i s }
@@ -142,7 +142,7 @@ For convenience, let us give more compact tables in hex and decimal.
9: ) 9 I Y i y 9: \' 1 ; E O Y c m w
A: * : J Z j z
B: + ; K [ k {
-C: , < L \e l |
+C: , < L \\ l |
D: \- = M ] m }
E: . > N ^ n ~
F: / ? O _ o DEL
diff --git a/man7/cpuset.7 b/man7/cpuset.7
index 4803b8f803..3eabbcedcf 100644
--- a/man7/cpuset.7
+++ b/man7/cpuset.7
@@ -532,7 +532,7 @@ Unless memory pressure calculation is enabled by setting the pseudo-file
.IR /dev/cpuset/memory_pressure_enabled ,
it is not computed for any cpuset, and reads from any
.I memory_pressure
-always return zero, as represented by the ASCII string "0\en".
+always return zero, as represented by the ASCII string "0\\n".
See the \fBWARNINGS\fR section, below.
.PP
A per-cpuset, running average is employed for the following reasons:
diff --git a/man7/glob.7 b/man7/glob.7
index f809e177fa..58245f72b9 100644
--- a/man7/glob.7
+++ b/man7/glob.7
@@ -85,8 +85,8 @@ One can remove the special meaning of \(aq?\(aq, \(aq*\(aq and \(aq[\(aq by
preceding them by a backslash, or, in case this is part of
a shell command line, enclosing them in quotes.
Between brackets these characters stand for themselves.
-Thus, "\fI[[?*\e]\fP" matches the
-four characters \(aq[\(aq, \(aq?\(aq, \(aq*\(aq and \(aq\e\(aq.
+Thus, "\fI[[?*\\]\fP" matches the
+four characters \(aq[\(aq, \(aq?\(aq, \(aq*\(aq and \(aq\\\(aq.
.SS Pathnames
Globbing is applied on each of the components of a pathname
separately.
diff --git a/man7/man-pages.7 b/man7/man-pages.7
index 091e027ab2..cd42096552 100644
--- a/man7/man-pages.7
+++ b/man7/man-pages.7
@@ -436,7 +436,7 @@ If the command is short, then it can be included inline in the text,
in italic format, for example,
.IR "man 7 man-pages" .
In this case, it may be worth using nonbreaking spaces
-("\e\ ") at suitable places in the command.
+("\\\ ") at suitable places in the command.
Command options should be written in italics, e.g.,
.IR \-l .
.PP
diff --git a/man7/man.7 b/man7/man.7
index f4d642ba7a..78f9a73194 100644
--- a/man7/man.7
+++ b/man7/man.7
@@ -246,7 +246,7 @@ except the tag is included with the command instead of being on the
following line).
If the tag is too long, the text after the tag will be moved down to the
next line (text will not be lost or garbled).
-For bulleted lists, use this macro with \e(bu (bullet) or \e(em (em dash)
+For bulleted lists, use this macro with \\(bu (bullet) or \\(em (em dash)
as the tag, and for numbered lists, use the number or letter followed by
a period as the tag;
this simplifies translation to other formats.
@@ -354,15 +354,15 @@ but used for a subsection inside a section).
The
.B man
package has the following predefined strings:
-.IP \e*R
+.IP \\*R
Registration Symbol: \*R
-.IP \e*S
+.IP \\*S
Change to default font size
-.IP \e*(Tm
+.IP \\*(Tm
Trademark Symbol: \*(Tm
-.IP \e*(lq
+.IP \\*(lq
Left angled double quote: \*(lq
-.IP \e*(rq
+.IP \\*(rq
Right angled double quote: \*(rq
.SS "Safe Subset"
Although technically
@@ -383,7 +383,7 @@ Avoid using computations; most other tools can't process them.
Use simple commands that are easy to translate to other formats.
The following troff macros are believed to be safe (though in many cases
they will be ignored by translators):
-.BR \e" ,
+.BR \\" ,
.BR . ,
.BR ad ,
.BR bp ,
@@ -410,26 +410,26 @@ they will be ignored by translators):
.BR tr .
.PP
You may also use many troff escape sequences (those sequences beginning
-with \e).
+with \\).
When you need to include the backslash character as normal text,
-use \ee.
+use \\\\.
Other sequences you may use, where x or xx are any characters and N
is any digit, include:
-.BR \e' ,
-.BR \e` ,
-.BR \e- ,
-.BR \e. ,
-.BR \e" ,
-.BR \e% ,
-.BR \e*x ,
-.BR \e*(xx ,
-.BR \e(xx ,
-.BR \e$N ,
-.BR \enx ,
-.BR \en(xx ,
-.BR \efx ,
+.BR \\' ,
+.BR \\` ,
+.BR \\- ,
+.BR \\. ,
+.BR \\" ,
+.BR \\% ,
+.BR \\*x ,
+.BR \\*(xx ,
+.BR \\(xx ,
+.BR \\$N ,
+.BR \\nx ,
+.BR \\n(xx ,
+.BR \\fx ,
and
-.BR \ef(xx .
+.BR \\f(xx .
Avoid using the escape sequences for drawing graphics.
.PP
Do not use the optional parameter for
@@ -459,7 +459,7 @@ Only translations
that can be ignored should be used.
Font changes
.RB ( ft
-and the \fB\ef\fP escape sequence)
+and the \fB\\f\fP escape sequence)
should only have the values 1, 2, 3, 4, R, I, B, P, or CW
(the ft command may also have no parameters).
.PP
@@ -497,7 +497,7 @@ file (such as HTML or Docbook).
Anything else suggests simple ASCII
text (e.g., a "catman" result).
.PP
-Many man pages begin with \fB\'\e"\fP followed by a
+Many man pages begin with \fB\'\\"\fP followed by a
space and a list of characters,
indicating how the page is to be preprocessed.
For portability's sake to non-troff translators we recommend
diff --git a/man7/mdoc.7 b/man7/mdoc.7
index a1fb29a1c7..090f5afb2f 100644
--- a/man7/mdoc.7
+++ b/man7/mdoc.7
@@ -281,7 +281,7 @@ and a leading white space is not output between the characters
and the previous argument (if any).
The special meaning of a punctuation character may be escaped
with the string
-.Ql \e& .
+.Ql \\& .
For example the following string,
.Bl -tag -width "&.Ar file1\ , file2\ , file3\ )\ ." -offset indent
.It Li "\&.Ar file1\ , file2\ , file3\ )\ ."
diff --git a/man7/mdoc.samples.7 b/man7/mdoc.samples.7
index 196b4b3c9e..3f68e18b1b 100644
--- a/man7/mdoc.samples.7
+++ b/man7/mdoc.samples.7
@@ -231,10 +231,10 @@ at the beginning of a line in some context other than
a macro invocation, precede the
.Ql \&\.
(dot) with the
-.Ql \e&
+.Ql \\&
escape sequence.
The
-.Ql \e&
+.Ql \\&
translates literally to a zero width space, and is never displayed in the
output.
.Pp
@@ -289,11 +289,11 @@ To prevent a two character
string from being interpreted as a macro name, precede
the string with the
escape sequence
-.Ql \e& :
+.Ql \\& :
.Bl -tag -width "\&.Op \&Fl s \&Ar bytes" -offset indent
.It Op \&Fl s \&Ar bytes
is produced by
-.Li \&.Op \e&Fl s \e&Ar bytes
+.Li \&.Op \\&Fl s \\&Ar bytes
.El
.Pp
Here the strings
@@ -379,9 +379,9 @@ Title of article in a book or journal.
.Pp
One way of passing a string
containing blank spaces is to use the hard or unpaddable space character
-.Ql \e\ ,
+.Ql \\\ ,
that is, a blank space preceded by the escape character
-.Ql \e .
+.Ql \\ .
This method may be used with any macro but has the side effect
of interfering with the adjustment of text
over the length of a line.
@@ -395,14 +395,14 @@ For example:
.Bl -tag -width "fetch(char *str)" -offset indent
.It Fn fetch char\ *str
is created by
-.Ql \&.Fn fetch char\e *str
+.Ql \&.Fn fetch char\\ *str
.It Fn fetch "char *str"
can also be created by
.Ql \&.Fn fetch "\\*qchar *str\\*q"
.El
.Pp
If the
-.Ql \e
+.Ql \\
or quotes
were omitted,
.Ql \&.Fn
@@ -424,20 +424,20 @@ from <blank-space><end-of-line> character sequences.
Should the need
arise to force a blank character at the end of a line,
it may be forced with an unpaddable space and the
-.Ql \e&
+.Ql \\&
escape character.
For example,
-.Ql string\e\ \e& .
+.Ql string\\\ \\& .
.Ss Escaping Special Characters
Special characters
like the newline character
-.Ql \en ,
+.Ql \\n ,
are handled by replacing the
-.Ql \e
+.Ql \\
with
-.Ql \ee
+.Ql \\e
(e.g.,
-.Ql \een )
+.Ql \\en )
to preserve
the backslash.
.Sh THE ANATOMY OF A MAN PAGE
@@ -450,7 +450,7 @@ in
.Pp
.Ss A manual page template
.Bd -literal -offset indent
-\&.\e" The following requests are required for all man pages.
+\&.\\" The following requests are required for all man pages.
\&.Dd Month day, year
\&.Os OPERATING_SYSTEM [version/release]
\&.Dt DOCUMENT_TITLE [section number] [volume]
@@ -459,26 +459,26 @@ in
\&.Nd one line description of name
\&.Sh SYNOPSIS
\&.Sh DESCRIPTION
-\&.\e" The following requests should be uncommented and
-\&.\e" used where appropriate. This next request is
-\&.\e" for sections 2 and 3 function return values only.
-\&.\e" .Sh RETURN VALUE
-\&.\e" This next request is for sections 1, 6, 7 & 8 only
-\&.\e" .Sh ENVIRONMENT
-\&.\e" .Sh FILES
-\&.\e" .Sh EXAMPLES
-\&.\e" This next request is for sections 1, 6, 7 & 8 only
-\&.\e" (command return values (to shell) and
-\&.\e" fprintf/stderr type diagnostics)
-\&.\e" .Sh DIAGNOSTICS
-\&.\e" The next request is for sections 2 and 3 error
-\&.\e" and signal handling only.
-\&.\e" .Sh ERRORS
-\&.\e" .Sh SEE ALSO
-\&.\e" .Sh CONFORMING TO
-\&.\e" .Sh HISTORY
-\&.\e" .Sh AUTHORS
-\&.\e" .Sh BUGS
+\&.\\" The following requests should be uncommented and
+\&.\\" used where appropriate. This next request is
+\&.\\" for sections 2 and 3 function return values only.
+\&.\\" .Sh RETURN VALUE
+\&.\\" This next request is for sections 1, 6, 7 & 8 only
+\&.\\" .Sh ENVIRONMENT
+\&.\\" .Sh FILES
+\&.\\" .Sh EXAMPLES
+\&.\\" This next request is for sections 1, 6, 7 & 8 only
+\&.\\" (command return values (to shell) and
+\&.\\" fprintf/stderr type diagnostics)
+\&.\\" .Sh DIAGNOSTICS
+\&.\\" The next request is for sections 2 and 3 error
+\&.\\" and signal handling only.
+\&.\\" .Sh ERRORS
+\&.\\" .Sh SEE ALSO
+\&.\\" .Sh CONFORMING TO
+\&.\\" .Sh HISTORY
+\&.\\" .Sh AUTHORS
+\&.\\" .Sh BUGS
.Ed
.Pp
The first items in the template are the macros
@@ -785,7 +785,7 @@ default font distinguishing it from the strings in literal font.
.Pp
To remove the special meaning from a punctuation character
escape it with
-.Ql \e& .
+.Ql \\& .
.Xr Troff
is limited as a macro language, and has difficulty
when presented with a string containing
@@ -801,7 +801,7 @@ may assume it is supposed to actually perform the operation
or evaluation suggested by the characters. To prevent
the accidental evaluation of these characters,
escape them with
-.Ql \e& .
+.Ql \\& .
Typical syntax is shown in the first content macro displayed
below,
.Ql \&.Ad .
@@ -1249,7 +1249,7 @@ it can not recall the first argument it was invoked with.
.Bl -tag -width "\&.Nm mdoc.sample" -compact -offset 14n
.It Li \&.Nm mdoc.sample
.Nm mdoc.sample
-.It Li \&.Nm \e-mdoc
+.It Li \&.Nm \\-mdoc
.Nm \-mdoc .
.It Li \&.Nm foo\ )\ )\ ,
.Nm foo ) ) ,
@@ -1710,7 +1710,7 @@ using the space mode macro to turn spacing off:
.Bd -literal -offset indent
\&.Sm off
\&.It Xo Sy I Ar operation
-\&.No \een Ar count No \een
+\&.No \\en Ar count No \\en
\&.Xc
\&.Sm on
.Ed
@@ -1720,7 +1720,7 @@ Produces
.Bl -tag -width flag -compact
.Sm off
.It Xo Sy I Ar operation
-.No \en Ar count No \en
+.No \\n Ar count No \\n
.Xc
.Sm on
.El
@@ -1755,7 +1755,7 @@ Test the value of a variable.
.Bd -literal -offset indent
\&.It Xo
\&.Ic .ifndef
-\&.Oo \e&! Oc Ns Ar variable
+\&.Oo \\&! Oc Ns Ar variable
\&.Op Ar operator variable ...
\&.Xc
.Ed
@@ -2076,7 +2076,7 @@ macro asserts a vertical distance unless the -compact flag is given).
.\" around the
.\" .Li \&+
.\" signs were forced with
-.\" .Li \e :
+.\" .Li \\ :
.\" .Pp
.\" .Ds I
.\" .Cw (ax\ +\ bx\ +\ c) \ is\ produced\ by\ \&
@@ -2091,7 +2091,7 @@ macro asserts a vertical distance unless the -compact flag is given).
.\" .Li \&.Sy x
.\" .Cx
.\" .Cl Cx \t\t
-.\" .Li \&.Cx \e\ +\e\ \e&
+.\" .Li \&.Cx \\\ +\\\ \\&
.\" .Cx
.\" .Cl Cx \&(\&
.\" .Va a
@@ -2110,7 +2110,7 @@ macro asserts a vertical distance unless the -compact flag is given).
.\" .Li \&.Sy y
.\" .Cx
.\" .Cl Cx \t\t
-.\" .Li \&.Cx \e\ +\e\ \e&
+.\" .Li \&.Cx \\\ +\\\ \\&
.\" .Cx
.\" .Cl Cx \t\t
.\" .Li \&.Va c )
@@ -2141,7 +2141,7 @@ macro asserts a vertical distance unless the -compact flag is given).
.\" .Cx \t
.\" .Em is produced by
.\" .Cx \t
-.\" .Li \&.Ar \e\ b1 e1 f1
+.\" .Li \&.Ar \\\ b1 e1 f1
.\" .Cx
.\" .Cl Cx \t\t
.\" .Li \&.Op Sy ?/
@@ -2336,8 +2336,8 @@ would be typed.
.Pp
.Dl Usage: .Li argument ... \*(Pu
.Bl -tag -width "\&.Li cntrl-D ) ," -compact -offset 14n
-.It Li \&.Li \een
-.Li \en
+.It Li \&.Li \\en
+.Li \\n
.It Li \&.Li M1 M2 M3\ ;
.Li M1 M2 M3 ;
.It Li \&.Li cntrl-D\ )\ ,
@@ -2647,11 +2647,11 @@ macro name, a new and nested list is assumed.
.Sh PREDEFINED STRINGS
The following strings are predefined as may be used by
preceding with the troff string interpreting sequence
-.Ql \&\e*(xx
+.Ql \&\\*(xx
where
.Em xx
is the name of the defined string or as
-.Ql \&\e*x
+.Ql \&\\*x
where
.Em x
is the name of the string.
@@ -2685,7 +2685,7 @@ The interpreting sequence may be used any where in the text.
The string named
.Ql q
should be written as
-.Ql \e*q
+.Ql \\*q
since it is only one char.
.Sh DIAGNOSTICS
The debugging facilities for
@@ -2718,7 +2718,7 @@ two lower case characters or a dot plus a letter or metacharacter
character.
In one of the introduction examples, it was shown how to
prevent the interpretation of a macro name with the escape sequence
-.Ql \e& .
+.Ql \\& .
This is sufficient for the internal register names also.
.Pp
.\" Every callable macro name has a corresponding register
@@ -2767,7 +2767,7 @@ the debug macro placed above and below an
artificially created problem (a flag argument
.Ql \&aC
which should be
-.Ql \e&aC
+.Ql \\&aC
in order to work):
.Bd -literal -offset indent
\&.Db on
@@ -2820,7 +2820,7 @@ In this next example, the offending
is escaped:
.Bd -literal -offset indent
\&.Db on
-\&.Em An escaped \e&aC
+\&.Em An escaped \\&aC
\&.Db off
.Ed
.Bd -literal -offset indent
@@ -2837,12 +2837,12 @@ DEBUGGING OFF
.Ed
.Pp
The argument
-.Ql \e&aC
+.Ql \\&aC
shows up with the same length of 2 as the
-.Ql \e&
+.Ql \\&
sequence produces a zero width, but a register
named
-.Ql \e&aC
+.Ql \\&aC
was not found and the type classified as string.
.Pp
Other diagnostics consist of usage statements and are self explanatory.
@@ -2913,7 +2913,7 @@ and certainly should be able to.
.\" boundary.
.\" to make sure a line boundary is crossed:
.\" .Bd -literal
-.\" \&.Fn struct\e\ dictionarytable\e\ *dictionarylookup struct\e\ dictionarytable\e\ *tab[]
+.\" \&.Fn struct\\\ dictionarytable\\\ *dictionarylookup struct\\\ dictionarytable\\\ *tab[]
.\" .Ed
.\" .Pp
.\" produces, nudge nudge,
diff --git a/man7/regex.7 b/man7/regex.7
index c9355717c8..b7dd627ec1 100644
--- a/man7/regex.7
+++ b/man7/regex.7
@@ -90,16 +90,16 @@ an empty set of "\fI()\fP" (matching the null string)\*(dg,
a \fIbracket expression\fR (see below), \(aq.\(aq
(matching any single character), \(aq^\(aq (matching the null string at the
beginning of a line), \(aq$\(aq (matching the null string at the
-end of a line), a \(aq\e\(aq followed by one of the characters
-"\fI^.[$()|*+?{\e\fP"
+end of a line), a \(aq\\\(aq followed by one of the characters
+"\fI^.[$()|*+?{\\\fP"
(matching that character taken as an ordinary character),
-a \(aq\e\(aq followed by any other character\*(dg
+a \(aq\\\(aq followed by any other character\*(dg
(matching that character taken as an ordinary character,
-as if the \(aq\e\(aq had not been present\*(dg),
+as if the \(aq\\\(aq had not been present\*(dg),
or a single character with no other significance (matching that character).
A \(aq{\(aq followed by a character other than a digit is an ordinary
character, not the beginning of a bound\*(dg.
-It is illegal to end an RE with \(aq\e\(aq.
+It is illegal to end an RE with \(aq\\\(aq.
.PP
A \fIbracket expression\fR is a list of characters enclosed in "\fI[]\fP".
It normally matches any single character from the list (but see below).
@@ -123,7 +123,7 @@ To use a literal \(aq\-\(aq as the first endpoint of a range,
enclose it in "\fI[.\fP" and "\fI.]\fP"
to make it a collating element (see below).
With the exception of these and some combinations using \(aq[\(aq (see next
-paragraphs), all other special characters, including \(aq\e\(aq, lose their
+paragraphs), all other special characters, including \(aq\\\(aq, lose their
special significance within a bracket expression.
.PP
Within a bracket expression, a collating element (a character,
@@ -235,9 +235,9 @@ Obsolete ("basic") regular expressions differ in several respects.
\(aq|\(aq, \(aq+\(aq, and \(aq?\(aq are
ordinary characters and there is no equivalent
for their functionality.
-The delimiters for bounds are "\fI\e{\fP" and "\fI\e}\fP",
+The delimiters for bounds are "\fI\\{\fP" and "\fI\\}\fP",
with \(aq{\(aq and \(aq}\(aq by themselves ordinary characters.
-The parentheses for nested subexpressions are "\fI\e(\fP" and "\fI\e)\fP",
+The parentheses for nested subexpressions are "\fI\\(\fP" and "\fI\\)\fP",
with \(aq(\(aq and \(aq)\(aq by themselves ordinary characters.
\(aq^\(aq is an ordinary character except at the beginning of the
RE or\*(dg the beginning of a parenthesized subexpression,
@@ -248,12 +248,12 @@ RE or the beginning of a parenthesized subexpression
(after a possible leading \(aq^\(aq).
.PP
Finally, there is one new type of atom, a \fIback reference\fR:
-\(aq\e\(aq followed by a nonzero decimal digit \fId\fR
+\(aq\\\(aq followed by a nonzero decimal digit \fId\fR
matches the same sequence of characters
matched by the \fId\fRth parenthesized subexpression
(numbering subexpressions by the positions of their opening parentheses,
left to right),
-so that, for example, "\fI\e([bc]\e)\e1\fP" matches "bb" or "cc" but not "bc".
+so that, for example, "\fI\\([bc]\\)\\1\fP" matches "bb" or "cc" but not "bc".
.SH BUGS
Having two kinds of REs is a botch.
.PP
@@ -267,7 +267,7 @@ Back references are a dreadful botch,
posing major problems for efficient implementations.
They are also somewhat vaguely defined
(does
-"\fIa\e(\e(b\e)*\e2\e)*d\fP" match "abbbd"?).
+"\fIa\\(\\(b\\)*\\2\\)*d\fP" match "abbbd"?).
Avoid using them.
.PP
POSIX.2's specification of case-independent matching is vague.