Michael Reed
2016-02-08 18:28:40 UTC
Done for the same reason as rev. 1.57[1]. I observed no diff in the
generated output for terminals, but I'm unsure if these strings are
wanted for prettier pdf/ps/html/... output.
Regards,
Michael Reed
[1]: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/vi/docs/USD.doc/vi.man/vi.1?rev=1.57&content-type=text/x-cvsweb-markup
Index: vi.1
===================================================================
RCS file: /cvs/src/usr.bin/vi/docs/USD.doc/vi.man/vi.1,v
retrieving revision 1.63
diff -u -p -r1.63 vi.1
--- vi.1 6 Jan 2016 22:41:53 -0000 1.63
+++ vi.1 8 Feb 2016 18:20:05 -0000
@@ -354,7 +354,7 @@ matches the beginning of the word.
.Sq \e>
matches the end of the word.
.It
-.Sq \(a~
+.Sq ~
matches the replacement part of the last
.Cm substitute
command.
@@ -2059,9 +2059,9 @@ If this is the entire
pattern, the replacement part of the previous
.Cm substitute
command.
-.It Sq \e\(sh
+.It Sq \e#
Where
-.Sq \(sh
+.Sq #
is an integer from 1 to 9, the text matched by the #'th subexpression in
.Ar pattern .
.It Sq \eL
@@ -2350,9 +2350,9 @@ Display lines in an unambiguous fashion.
Attempt to get an exclusive lock on any file being edited, read or written.
.It Cm magic Bq on
When turned off, all regular expression characters except for
-.Sq \(ha
+.Sq ^
and
-.Sq \(Do
+.Sq $
are treated as ordinary characters.
Preceding individual characters by
.Sq \e
generated output for terminals, but I'm unsure if these strings are
wanted for prettier pdf/ps/html/... output.
Regards,
Michael Reed
[1]: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/vi/docs/USD.doc/vi.man/vi.1?rev=1.57&content-type=text/x-cvsweb-markup
Index: vi.1
===================================================================
RCS file: /cvs/src/usr.bin/vi/docs/USD.doc/vi.man/vi.1,v
retrieving revision 1.63
diff -u -p -r1.63 vi.1
--- vi.1 6 Jan 2016 22:41:53 -0000 1.63
+++ vi.1 8 Feb 2016 18:20:05 -0000
@@ -354,7 +354,7 @@ matches the beginning of the word.
.Sq \e>
matches the end of the word.
.It
-.Sq \(a~
+.Sq ~
matches the replacement part of the last
.Cm substitute
command.
@@ -2059,9 +2059,9 @@ If this is the entire
pattern, the replacement part of the previous
.Cm substitute
command.
-.It Sq \e\(sh
+.It Sq \e#
Where
-.Sq \(sh
+.Sq #
is an integer from 1 to 9, the text matched by the #'th subexpression in
.Ar pattern .
.It Sq \eL
@@ -2350,9 +2350,9 @@ Display lines in an unambiguous fashion.
Attempt to get an exclusive lock on any file being edited, read or written.
.It Cm magic Bq on
When turned off, all regular expression characters except for
-.Sq \(ha
+.Sq ^
and
-.Sq \(Do
+.Sq $
are treated as ordinary characters.
Preceding individual characters by
.Sq \e