Module Name: src
Committed By: wiz
Date: Mon Jul 3 21:33:24 UTC 2017
Modified Files:
src/bin/cat: cat.1
src/bin/chio: chio.1
src/bin/chmod: chmod.1
src/bin/csh: csh.1
src/bin/date: date.1
src/bin/dd: dd.1
src/bin/df: df.1
src/bin/echo: echo.1
src/bin/ed: ed.1
src/bin/expr: expr.1
src/bin/ls: ls.1
src/bin/mkdir: mkdir.1
src/bin/mv: mv.1
src/bin/pax: cpio.1 pax.1 tar.1
src/bin/ps: ps.1
src/bin/pwd: pwd.1
src/bin/rcmd: rcmd.1
src/bin/rm: rm.1
src/bin/rmdir: rmdir.1
src/bin/sh/bltin: echo.1
src/bin/sleep: sleep.1
src/bin/test: test.1
Log Message:
Remove workaround for ancient HTML generation code.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/bin/cat/cat.1
cvs rdiff -u -r1.19 -r1.20 src/bin/chio/chio.1
cvs rdiff -u -r1.26 -r1.27 src/bin/chmod/chmod.1
cvs rdiff -u -r1.53 -r1.54 src/bin/csh/csh.1
cvs rdiff -u -r1.44 -r1.45 src/bin/date/date.1
cvs rdiff -u -r1.32 -r1.33 src/bin/dd/dd.1
cvs rdiff -u -r1.46 -r1.47 src/bin/df/df.1
cvs rdiff -u -r1.15 -r1.16 src/bin/echo/echo.1
cvs rdiff -u -r1.30 -r1.31 src/bin/ed/ed.1
cvs rdiff -u -r1.36 -r1.37 src/bin/expr/expr.1
cvs rdiff -u -r1.79 -r1.80 src/bin/ls/ls.1
cvs rdiff -u -r1.19 -r1.20 src/bin/mkdir/mkdir.1
cvs rdiff -u -r1.28 -r1.29 src/bin/mv/mv.1
cvs rdiff -u -r1.14 -r1.15 src/bin/pax/cpio.1
cvs rdiff -u -r1.68 -r1.69 src/bin/pax/pax.1
cvs rdiff -u -r1.36 -r1.37 src/bin/pax/tar.1
cvs rdiff -u -r1.106 -r1.107 src/bin/ps/ps.1
cvs rdiff -u -r1.25 -r1.26 src/bin/pwd/pwd.1
cvs rdiff -u -r1.21 -r1.22 src/bin/rcmd/rcmd.1
cvs rdiff -u -r1.28 -r1.29 src/bin/rm/rm.1
cvs rdiff -u -r1.16 -r1.17 src/bin/rmdir/rmdir.1
cvs rdiff -u -r1.13 -r1.14 src/bin/sh/bltin/echo.1
cvs rdiff -u -r1.23 -r1.24 src/bin/sleep/sleep.1
cvs rdiff -u -r1.30 -r1.31 src/bin/test/test.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/cat/cat.1
diff -u src/bin/cat/cat.1:1.38 src/bin/cat/cat.1:1.39
--- src/bin/cat/cat.1:1.38 Sun Jun 15 07:27:22 2014
+++ src/bin/cat/cat.1 Mon Jul 3 21:33:22 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: cat.1,v 1.38 2014/06/15 07:27:22 wiz Exp $
+.\" $NetBSD: cat.1,v 1.39 2017/07/03 21:33:22 wiz Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -123,7 +123,7 @@ Non-ascii characters (with the high bit
.Sh EXIT STATUS
The
.Nm
-utility exits 0 on success, and \*[Gt]0 if an error occurs.
+utility exits 0 on success, and >0 if an error occurs.
.Sh EXAMPLES
The command:
.Bd -literal -offset indent
@@ -136,7 +136,7 @@ to the standard output.
.Pp
The command:
.Bd -literal -offset indent
-.Ic cat file1 file2 \*[Gt] file3
+.Ic cat file1 file2 > file3
.Ed
.Pp
will sequentially print the contents of
@@ -211,7 +211,7 @@ It appears to have been
.Sh BUGS
Because of the shell language mechanism used to perform output
redirection, the command
-.Dq Li cat file1 file2 \*[Gt] file1
+.Dq Li cat file1 file2 > file1
will cause the original data in file1 to be destroyed!
This is performed by the shell before
.Nm
Index: src/bin/chio/chio.1
diff -u src/bin/chio/chio.1:1.19 src/bin/chio/chio.1:1.20
--- src/bin/chio/chio.1:1.19 Thu Aug 25 18:16:10 2016
+++ src/bin/chio/chio.1 Mon Jul 3 21:33:22 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: chio.1,v 1.19 2016/08/25 18:16:10 sevan Exp $
+.\" $NetBSD: chio.1,v 1.20 2017/07/03 21:33:22 wiz Exp $
.\"
.\" Copyright (c) 1996, 1998, 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -82,46 +82,46 @@ and the EU would be
.Sh SUPPORTED COMMANDS
.Nm
.Ic move
-.Ar \*[Lt]from ET\*[Gt] \*[Lt]from EU\*[Gt] \*[Lt]to ET\*[Gt] \*[Lt]to EU\*[Gt]
+.Ar <from ET> <from EU> <to ET> <to EU>
.Op Ar inv
.Pp
Moves the media unit from
-.Pa \*[Lt]from ET/EU\*[Gt]
+.Pa <from ET/EU>
to
-.Pa \*[Lt]to ET/EU\*[Gt] .
+.Pa <to ET/EU> .
If the optional modifier
.Pa inv
is specified, the media unit will be inverted before insertion.
.Pp
.Nm
.Ic exchange
-.Ar \*[Lt]src ET\*[Gt] \*[Lt]src EU\*[Gt] \*[Lt]dst1 ET\*[Gt] \*[Lt]dst1 EU\*[Gt]
-.Op Ar \*[Lt]dst2 ET\*[Gt] \*[Lt]dst2 ET\*[Gt]
+.Ar <src ET> <src EU> <dst1 ET> <dst1 EU>
+.Op Ar <dst2 ET> <dst2 ET>
.Op Ar inv1
.Op Ar inv2
.Pp
Performs a media unit exchange operation.
The media unit in
-.Pa \*[Lt]src ET/EU\*[Gt]
+.Pa <src ET/EU>
is moved to
-.Pa \*[Lt]dst1 ET/EU\*[Gt]
+.Pa <dst1 ET/EU>
and the media unit previously in
-.Pa \*[Lt]dst1 ET/EU\*[Gt]
+.Pa <dst1 ET/EU>
is moved to
-.Pa \*[Lt]dst2 ET/EU\*[Gt] .
+.Pa <dst2 ET/EU> .
In the case of a simple exchange,
-.Pa \*[Lt]dst2 ET/EU\*[Gt]
+.Pa <dst2 ET/EU>
is omitted and the values
-.Pa \*[Lt]src ET/EU\*[Gt]
+.Pa <src ET/EU>
are used in their place.
The optional modifiers
.Pa inv1
and
.Pa inv2
specify whether the media units are to be inverted before insertion into
-.Pa \*[Lt]dst1 ET/EU\*[Gt]
+.Pa <dst1 ET/EU>
and
-.Pa \*[Lt]dst2 ET/EU\*[Gt]
+.Pa <dst2 ET/EU>
respectively.
.Pp
Note that not all medium changers support the
@@ -131,11 +131,11 @@ multiple free pickers with transient sto
.Pp
.Nm
.Ic position
-.Ar \*[Lt]to ET\*[Gt] \*[Lt]to EU\*[Gt]
+.Ar <to ET> <to EU>
.Op Ar inv
.Pp
Position the picker in front of the element described by
-.Pa \*[Lt]to ET/EU\*[Gt] .
+.Pa <to ET/EU> .
If the optional modifier
.Pa inv
is specified, the media unit will be inverted before insertion.
@@ -155,21 +155,21 @@ Report which picker unit the changer is
.Pp
.Nm
.Ic setpicker
-.Ar \*[Lt]unit\*[Gt]
+.Ar <unit>
.Pp
Configure the changer to use picker
-.Pa \*[Lt]unit\*[Gt] .
+.Pa <unit> .
.Pp
.Nm
.Ic status
-.Oo Ar \*[Lt]type\*[Gt] Oo unit Oo count Oc Oc Oc
+.Oo Ar <type> Oo unit Oo count Oc Oc Oc
.Op Ar voltags
.Pp
Report the status of all elements in the changer.
If
-.Pa \*[Lt]type\*[Gt]
+.Pa <type>
is specified, report the status of all elements of type
-.Pa \*[Lt]type\*[Gt] .
+.Pa <type> .
.Pp
The status bits are defined as follows:
.Bl -tag -width indent
@@ -206,8 +206,8 @@ operation on the changer.
.Pp
.Nm
.Ic cdlu
-.Ar \*[Lt]sub-command\*[Gt]
-.Ar \*[Lt]slot\*[Gt]
+.Ar <sub-command>
+.Ar <slot>
.Pp
This command is provided for controlling CD-ROM changer mechanisms which
cannot use the standard changer control interface.
Index: src/bin/chmod/chmod.1
diff -u src/bin/chmod/chmod.1:1.26 src/bin/chmod/chmod.1:1.27
--- src/bin/chmod/chmod.1:1.26 Thu Aug 11 00:10:42 2016
+++ src/bin/chmod/chmod.1 Mon Jul 3 21:33:22 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: chmod.1,v 1.26 2016/08/11 00:10:42 sevan Exp $
+.\" $NetBSD: chmod.1,v 1.27 2017/07/03 21:33:22 wiz Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -115,7 +115,7 @@ the mode of a file.
.Sh EXIT STATUS
The
.Nm
-utility exits 0 on success, and \*[Gt]0 if an error occurs.
+utility exits 0 on success, and >0 if an error occurs.
.Sh MODES
Modes may be absolute or symbolic.
An absolute mode is an octal number constructed by
Index: src/bin/csh/csh.1
diff -u src/bin/csh/csh.1:1.53 src/bin/csh/csh.1:1.54
--- src/bin/csh/csh.1:1.53 Wed Aug 10 17:16:47 2016
+++ src/bin/csh/csh.1 Mon Jul 3 21:33:22 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: csh.1,v 1.53 2016/08/10 17:16:47 sevan Exp $
+.\" $NetBSD: csh.1,v 1.54 2017/07/03 21:33:22 wiz Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -195,10 +195,10 @@ directory and
The shell splits input lines into words at blanks and tabs with the
following exceptions.
The characters
-`\*[Am]' `\&|' `;' `\*[Lt]' `\*[Gt]' `(' `)'
+`&' `\&|' `;' `<' `>' `(' `)'
form separate words.
-If doubled in `\*[Am]\*[Am]',
-`\&|\&|', `\*[Lt]\*[Lt]' or `\*[Gt]\*[Gt]' these pairs form single words.
+If doubled in `&&',
+`\&|\&|', `<<' or `>>' these pairs form single words.
These parser metacharacters may be made part of other words, or prevented their
special meaning, by preceding them with `\e'.
A newline preceded by a `\e' is equivalent to a blank.
@@ -226,12 +226,12 @@ The output of each command in a pipeline
Sequences of pipelines may be separated by `;', and are then executed
sequentially.
A sequence of pipelines may be executed without immediately
-waiting for it to terminate by following it with an `\*[Am]'.
+waiting for it to terminate by following it with an `&'.
.Pp
Any of the above may be placed in `(' `)' to form a simple command (that
may be a component of a pipeline, etc.).
It is also possible to separate pipelines with `\&|\&|'
-or `\*[Am]\*[Am]' showing, as in the C language,
+or `&&' showing, as in the C language,
that the second is to be executed only if the first fails or succeeds
respectively.
(See
@@ -244,7 +244,7 @@ It keeps
a table of current jobs, printed by the
.Ar jobs
command, and assigns them small integer numbers.
-When a job is started asynchronously with `\*[Am]',
+When a job is started asynchronously with `&',
the shell prints a line that looks like:
.Bd -filled -offset indent
.Op 1
@@ -295,7 +295,7 @@ The character `%' introduces a job name.
If you wish to refer to job number 1, you can name it as `%1'.
Just naming a job brings it to the foreground; thus
`%1' is a synonym for `fg %1', bringing job number 1 back into the foreground.
-Similarly saying `%1 \*[Am]' resumes job number 1 in the background.
+Similarly saying `%1 &' resumes job number 1 in the background.
Jobs can also be named by prefixes of the string typed in to start them,
if these prefixes are unambiguous, thus `%ex' would normally restart
a suspended
@@ -379,7 +379,7 @@ bench class dev mbox xmpl
.Pp
and the input is
.Pp
-.Dl % vi ch\*[Lt]escape\*[Gt]
+.Dl % vi ch<escape>
.Pp
.Nm
will complete the prefix ``ch''
@@ -390,7 +390,7 @@ line to
.Pp
However, given
.Pp
-.Dl % vi D\*[Lt]escape\*[Gt]
+.Dl % vi D<escape>
.Pp
.Nm
will only expand the input to
@@ -407,7 +407,7 @@ will list all file names matching the pr
For example,
the input
.Pp
-.Dl % vi D\*[Lt]control-D\*[Gt]
+.Dl % vi D<control-D>
.Pp
causes all files beginning with ``D'' to be listed:
.Pp
@@ -420,7 +420,7 @@ expand partial user names, if the word t
(or listed) begins with the character ``~''.
For example, typing
.Pp
-.Dl cd ~ro\*[Lt]escape\*[Gt]
+.Dl cd ~ro<escape>
.Pp
may produce the expansion
.Pp
@@ -446,7 +446,7 @@ the command
.Pp
then typing
.Pp
-.Dl % vi x\*[Lt]escape\*[Gt]
+.Dl % vi x<escape>
.Pp
would result in the completion to
.Pp
@@ -575,10 +575,10 @@ for
.Ar r
.It t
Remove all leading pathname components, leaving the tail.
-.It \&\*[Am]
+.It \&&
Repeat the previous substitution.
.It g
-Apply the change once on each word, prefixing the above, e.g., `g\*[Am]'.
+Apply the change once on each word, prefixing the above, e.g., `g&'.
.It a
Apply the change as many times as possible on a single word, prefixing
the above.
@@ -604,9 +604,9 @@ a `\e' quotes the delimiter into the
and
.Ar r
strings.
-The character `\*[Am]' in the right hand side is replaced by the text from
+The character `&' in the right hand side is replaced by the text from
the left.
-A `\e' also quotes `\*[Am]'.
+A `\e' also quotes `&'.
A null
.Ar l
(`//')
@@ -811,7 +811,7 @@ Substitute the (decimal) process number
.It $!
Substitute the (decimal) process number of the last background process
started by this shell.
-.It $\*[Lt]
+.It $<
Substitutes a line from the standard
input, with no further interpretation.
It can be used to read from the keyboard in a shell script.
@@ -891,12 +891,12 @@ The standard input and the standard outp
with the following syntax:
.Pp
.Bl -tag -width Ds -compact -offset indent
-.It \*[Lt] name
+.It < name
Open file
.Ar name
(which is first variable, command and filename expanded) as the standard
input.
-.It \*[Lt]\*[Lt] word
+.It << word
Read the shell input up to a line that is identical to
.Ar word .
.Ar Word
@@ -912,10 +912,10 @@ Commands that are substituted have all b
preserved, except for the final newline which is dropped.
The resultant text is placed in an anonymous temporary file that
is given to the command as its standard input.
-.It \*[Gt] name
-.It \*[Gt]! name
-.It \*[Gt]\*[Am] name
-.It \*[Gt]\*[Am]! name
+.It > name
+.It >! name
+.It >& name
+.It >&! name
The file
.Ar name
is used as the standard output.
@@ -929,23 +929,23 @@ terminal or `/dev/null') or an error res
This helps prevent accidental destruction of files.
Here, the `!' forms can be used to suppress this check.
.Pp
-The forms involving `\*[Am]' route the standard error output into the specified
+The forms involving `&' route the standard error output into the specified
file as well as the standard output.
.Ar Name
-is expanded in the same way as `\*[Lt]' input filenames are.
-.It \*[Gt]\*[Gt] name
-.It \*[Gt]\*[Gt]\*[Am] name
-.It \*[Gt]\*[Gt]! name
-.It \*[Gt]\*[Gt]\*[Am]! name
+is expanded in the same way as `<' input filenames are.
+.It >> name
+.It >>& name
+.It >>! name
+.It >>&! name
Uses file
.Ar name
as the standard output;
-like `\*[Gt]' but places output at the end of the file.
+like `>' but places output at the end of the file.
If the variable
.Ar noclobber
is set, then it is an error for the file not to exist unless
one of the `!' forms is given.
-Otherwise similar to `\*[Gt]'.
+Otherwise similar to `>'.
.El
.Pp
A command receives the environment in which the shell was
@@ -954,7 +954,7 @@ the presence of the command in a pipelin
Thus, unlike some previous shells, commands run from a file of shell commands
have no access to the text of the commands by default;
instead they receive the original standard input of the shell.
-The `\*[Lt]\*[Lt]' mechanism should be used to present inline data.
+The `<<' mechanism should be used to present inline data.
This permits shell command scripts to function as components of pipelines
and allows the shell to block read its input.
Note that the default standard input for a command run detached is
@@ -971,7 +971,7 @@ above).
.Pp
The standard error output may be directed through
a pipe with the standard output.
-Simply use the form `\&|\*[Am]' instead of just `\&|'.
+Simply use the form `\&|&' instead of just `\&|'.
.Ss Expressions
Several of the builtin commands (to be described later)
take expressions, in which the operators are similar to those of C, with
@@ -987,13 +987,13 @@ and
commands.
The following operators are available:
.Bd -ragged -offset indent
-\&|\&| \*[Am]\*[Am] \&| \*(ua \*[Am] == != =~ !~ \*[Le] \*[Ge]
-\*[Lt] \*[Gt] \*[Lt]\*[Lt] \*[Gt]\*[Gt] + \- * / % ! ~ ( )
+\&|\&| && \&| \*(ua & == != =~ !~ \*[Le] \*[Ge]
+< > << >> + \- * / % ! ~ ( )
.Ed
.Pp
Here the precedence increases to the right,
-`==' `!=' `=~' and `!~', `\*[Le]' `\*[Ge]' `\*[Lt]'
-and `\*[Gt]', `\*[Lt]\*[Lt]' and `\*[Gt]\*[Gt]', `+' and `\-',
+`==' `!=' `=~' and `!~', `\*[Le]' `\*[Ge]' `<'
+and `>', `<<' and `>>', `+' and `\-',
`*' `/' and `%' being, in groups, at the same level.
The `==' `!=' `=~' and `!~' operators compare their arguments as strings;
all others operate on numbers.
@@ -1013,7 +1013,7 @@ which represent decimal numbers.
It is important to note that no two components of an expression can appear
in the same word; except when adjacent to components of expressions that
are syntactically significant to the parser
-(`\*[Am]' `\&|' `\*[Lt]' `\*[Gt]' `(' `)'),
+(`&' `\&|' `<' `>' `(' `)'),
they should be surrounded by spaces.
.Pp
Also available in expressions as primitive operands are command executions
@@ -1495,7 +1495,7 @@ The first form can be used in shell scri
ignored for the remainder of the script.
The second form causes the specified command to be run with hangups
ignored.
-All processes detached with `\*[Am]' are effectively
+All processes detached with `&' are effectively
.Ic nohup Ns \'ed .
.Pp
.It Ic notify
@@ -1820,7 +1820,7 @@ statement if the input is a terminal.
.It Ic % Ns Ar job
Brings the specified job into the foreground.
.Pp
-.It Ic % Ns Ar job Ic \*[Am]
+.It Ic % Ns Ar job Ic &
Continues the specified job in the background.
.Pp
.It Ic @
@@ -1831,7 +1831,7 @@ The second form sets the specified
.Ar name
to the value of
.Ar expr .
-If the expression contains `\*[Lt]', `\*[Gt]', `\*[Am]' or `|' then at least
+If the expression contains `<', `>', `&' or `|' then at least
this part of the expression must be placed within `(' `)'.
The third form assigns the value of
.Ar expr
@@ -1970,7 +1970,7 @@ when there is mail in the file
As described in the section on
.Sx Input/output ,
restrictions are placed on output redirection to ensure that
-files are not accidentally destroyed, and that `\*[Gt]\*[Gt]' redirections
+files are not accidentally destroyed, and that `>>' redirections
refer to existing files.
.It Ic noglob
If set, filename expansion is inhibited.
@@ -2169,11 +2169,11 @@ The shell normally ignores
.Ar quit
signals.
Jobs running detached (either by
-.Ic \&\*[Am]
+.Ic \&&
or the
.Ic bg
or
-.Ic %... \*[Am]
+.Ic %... &
commands) are immune to signals generated from the keyboard, including
hangups.
Other signals have the values which the shell inherited from its parent.
@@ -2197,7 +2197,7 @@ Read by login shell, at logout.
.It Pa /bin/sh
Standard shell, for shell scripts not starting with a `#'.
.It Pa /tmp/sh*
-Temporary file for `\*[Lt]\*[Lt]'.
+Temporary file for `<<'.
.It Pa /etc/passwd
Source of home directories for `~name'.
.El
@@ -2283,7 +2283,7 @@ list.
Control structure should be parsed instead of being recognized as built-in
commands.
This would allow control commands to be placed anywhere,
-to be combined with `\&|', and to be used with `\*[Am]' and `;' metasyntax.
+to be combined with `\&|', and to be used with `&' and `;' metasyntax.
.Pp
It should be possible to use the `:' modifiers on the output of command
substitutions.
Index: src/bin/date/date.1
diff -u src/bin/date/date.1:1.44 src/bin/date/date.1:1.45
--- src/bin/date/date.1:1.44 Tue Jan 3 16:01:05 2017
+++ src/bin/date/date.1 Mon Jul 3 21:33:22 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: date.1,v 1.44 2017/01/03 16:01:05 abhinav Exp $
+.\" $NetBSD: date.1,v 1.45 2017/07/03 21:33:22 wiz Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -111,7 +111,7 @@ The format string may contain any of the
in the
.Xr strftime 3
manual page, as well as any arbitrary text.
-A \*[Lt]newline\*[Gt] character is always output after the characters
+A <newline> character is always output after the characters
specified by the format string.
The format string for the default display is:
.Bd -literal -offset indent
Index: src/bin/dd/dd.1
diff -u src/bin/dd/dd.1:1.32 src/bin/dd/dd.1:1.33
--- src/bin/dd/dd.1:1.32 Thu Aug 18 22:43:49 2016
+++ src/bin/dd/dd.1 Mon Jul 3 21:33:22 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: dd.1,v 1.32 2016/08/18 22:43:49 sevan Exp $
+.\" $NetBSD: dd.1,v 1.33 2017/07/03 21:33:22 wiz Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -293,7 +293,7 @@ specifies the recommended one which is c
The value
.Cm oldascii
specifies the one used in historic
-.Tn AT\*[Am]T
+.Tn AT&T
and pre-
.Bx 4.3 Reno
systems.
@@ -340,7 +340,7 @@ The values
and
.Cm oldibm
are maps used in historic
-.Tn AT\*[Am]T
+.Tn AT&T
and pre
.Bx 4.3 Reno
systems.
@@ -478,7 +478,7 @@ will exit.
.Sh EXIT STATUS
The
.Nm
-utility exits 0 on success and \*[Gt]0 if an error occurred.
+utility exits 0 on success and >0 if an error occurred.
.Sh EXAMPLES
To print summary information in human-readable form:
.Pp
@@ -488,7 +488,7 @@ To customize the information summary out
.Xr unvis 3 :
.Bd -literal -offset indent
dd if=/dev/zero of=/dev/null count=1 \e
- msgfmt='speed:%E, in %s seconds\en' 2\*[Gt]\*[Am]1 | unvis
+ msgfmt='speed:%E, in %s seconds\en' 2>&1 | unvis
.Ed
.Sh SEE ALSO
.Xr cp 1 ,
Index: src/bin/df/df.1
diff -u src/bin/df/df.1:1.46 src/bin/df/df.1:1.47
--- src/bin/df/df.1:1.46 Wed Aug 10 23:48:14 2016
+++ src/bin/df/df.1 Mon Jul 3 21:33:22 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: df.1,v 1.46 2016/08/10 23:48:14 sevan Exp $
+.\" $NetBSD: df.1,v 1.47 2017/07/03 21:33:22 wiz Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -146,14 +146,14 @@ option is specified without the
options, the output will be preceded by the following header line,
formatted to match the data following it:
.Bd -literal
-"Filesystem \*[Lt]blksize\*[Gt]-blocks Used Available Capacity Mounted on\en"
+"Filesystem <blksize>-blocks Used Available Capacity Mounted on\en"
.Ed
.Pp
The header line is followed by data formatted as follows:
.Bd -literal
-"%s %d %d %d %d%% %s\en", \*[Lt]file system name\*[Gt], \*[Lt]total space\*[Gt],
- \*[Lt]space used\*[Gt], \*[Lt]space free\*[Gt], \*[Lt]percentage used\*[Gt],
- \*[Lt]file system root\*[Gt]
+"%s %d %d %d %d%% %s\en", <file system name>, <total space>,
+ <space used>, <space free>, <percentage used>,
+ <file system root>
.Ed
.Pp
Note that the
Index: src/bin/echo/echo.1
diff -u src/bin/echo/echo.1:1.15 src/bin/echo/echo.1:1.16
--- src/bin/echo/echo.1:1.15 Sun Aug 14 22:59:22 2016
+++ src/bin/echo/echo.1 Mon Jul 3 21:33:23 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: echo.1,v 1.15 2016/08/14 22:59:22 sevan Exp $
+.\" $NetBSD: echo.1,v 1.16 2017/07/03 21:33:23 wiz Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -57,7 +57,7 @@ Do not print the trailing newline charac
.Sh EXIT STATUS
The
.Nm
-utility exits 0 on success, and \*[Gt]0 if an error occurs.
+utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr printf 1
.Sh STANDARDS
Index: src/bin/ed/ed.1
diff -u src/bin/ed/ed.1:1.30 src/bin/ed/ed.1:1.31
--- src/bin/ed/ed.1:1.30 Fri May 14 02:09:58 2010
+++ src/bin/ed/ed.1 Mon Jul 3 21:33:23 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: ed.1,v 1.30 2010/05/14 02:09:58 joerg Exp $
+.\" $NetBSD: ed.1,v 1.31 2017/07/03 21:33:23 wiz Exp $
.\" $OpenBSD: ed.1,v 1.42 2003/07/27 13:25:43 jmc Exp $
.\"
.\" Copyright (c) 1993 Andrew Moore, Talke Studio.
@@ -203,7 +203,7 @@ then the second address is set to the gi
If an
.Em n Ns No -tuple
of addresses is given where
-.Em n \*[Gt] 2 ,
+.Em n > 2 ,
then the corresponding range is determined by the last two addresses in the
.Em n Ns No -tuple.
If only one address is expected, then the last address is used.
@@ -316,9 +316,9 @@ not listed below, including
.Sq } ,
.Sq \&( ,
.Sq \&) ,
-.Sq \*[Lt] ,
+.Sq < ,
and
-.Sq \*[Gt]
+.Sq >
matches itself.
.It Em \ec
Any backslash-escaped character
@@ -328,9 +328,9 @@ except for
.Sq } ,
.Sq \&( ,
.Sq \&) ,
-.Sq \*[Lt] ,
+.Sq < ,
and
-.Sq \*[Gt]
+.Sq >
matches itself.
.It Em \&.
Matches any single character.
@@ -356,11 +356,11 @@ If
is the last character of a regular expression,
it anchors the regular expression to the end of a line.
Otherwise, it matches itself.
-.It Em \e\*[Lt]
+.It Em \e<
Anchors the single character regular expression or subexpression
immediately following it to the beginning of a word.
(This may not be available.)
-.It Em \e\*[Gt]
+.It Em \e>
Anchors the single character regular expression or subexpression
immediately following it to the end of a word.
(This may not be available.)
@@ -608,7 +608,7 @@ is the same as that of the
command.
A newline alone acts as a null command list.
A single
-.Sq \*[Am]
+.Sq &
repeats the last non-null command list.
.It Ic H
Toggles the printing of error explanations.
@@ -730,7 +730,7 @@ affected is printed as though the print
were specified.
.Pp
An unescaped
-.Ql \*[Am]
+.Ql &
in
.Ar replacement
is replaced by the currently matched text.
Index: src/bin/expr/expr.1
diff -u src/bin/expr/expr.1:1.36 src/bin/expr/expr.1:1.37
--- src/bin/expr/expr.1:1.36 Tue Aug 23 20:34:23 2016
+++ src/bin/expr/expr.1 Mon Jul 3 21:33:23 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: expr.1,v 1.36 2016/08/23 20:34:23 sevan Exp $
+.\" $NetBSD: expr.1,v 1.37 2017/07/03 21:33:23 wiz Exp $
.\"
.\" Copyright (c) 2000,2003 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -57,12 +57,12 @@ Returns the evaluation of
if it is neither an empty string nor zero;
otherwise, returns the evaluation of
.Ar expr2 .
-.It Ar expr1 Li \*[Am] Ar expr2
+.It Ar expr1 Li & Ar expr2
Returns the evaluation of
.Ar expr1
if neither expression evaluates to an empty string or zero;
otherwise, returns zero.
-.It Ar expr1 Li "{=, \*[Gt], \*[Ge], \*[Lt], \*[Le], !=}" Ar expr2
+.It Ar expr1 Li "{=, >, \*[Ge], <, \*[Le], !=}" Ar expr2
Returns the results of integer comparison if both arguments are integers;
otherwise, returns the results of string comparison using the locale-specific
collation sequence.
@@ -124,7 +124,7 @@ and
.It
compare operators
.It
-.Dq \*[Am]
+.Dq &
.It
.Dq \&|
.El
@@ -139,7 +139,7 @@ the expression is neither an empty strin
the expression is an empty string or 0.
.It 2
the expression is invalid.
-.It \*[Gt]2
+.It >2
an error occurred (such as memory allocation failure).
.El
.Sh EXAMPLES
@@ -151,9 +151,9 @@ The following example adds one to variab
.It
The following example returns zero, due to subtraction having higher precedence
than the
-.Dq \*[Am]
+.Dq &
operator:
-.Dl expr 1 '\*[Am]' 1 - 1
+.Dl expr 1 '&' 1 - 1
.It
The following example returns the filename portion of a pathname stored
in variable
Index: src/bin/ls/ls.1
diff -u src/bin/ls/ls.1:1.79 src/bin/ls/ls.1:1.80
--- src/bin/ls/ls.1:1.79 Wed Aug 10 17:45:12 2016
+++ src/bin/ls/ls.1 Mon Jul 3 21:33:23 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: ls.1,v 1.79 2016/08/10 17:45:12 sevan Exp $
+.\" $NetBSD: ls.1,v 1.80 2017/07/03 21:33:23 wiz Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -354,7 +354,7 @@ the major and minor device numbers for t
in the size field.
If the file is a symbolic link the pathname of the
linked-to file is preceded by
-.Dq \-\*[Gt] .
+.Dq \-> .
.Pp
The file mode printed under the
.Fl l
Index: src/bin/mkdir/mkdir.1
diff -u src/bin/mkdir/mkdir.1:1.19 src/bin/mkdir/mkdir.1:1.20
--- src/bin/mkdir/mkdir.1:1.19 Wed Aug 10 18:42:00 2016
+++ src/bin/mkdir/mkdir.1 Mon Jul 3 21:33:23 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: mkdir.1,v 1.19 2016/08/10 18:42:00 sevan Exp $
+.\" $NetBSD: mkdir.1,v 1.20 2017/07/03 21:33:23 wiz Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -80,7 +80,7 @@ Do not consider it an error if the argum
The user must have write permission in the parent directory.
.Sh EXIT STATUS
.Nm
-exits 0 if successful, and \*[Gt]0 if an error occurred.
+exits 0 if successful, and >0 if an error occurred.
.Sh SEE ALSO
.Xr chmod 1 ,
.Xr rmdir 1 ,
Index: src/bin/mv/mv.1
diff -u src/bin/mv/mv.1:1.28 src/bin/mv/mv.1:1.29
--- src/bin/mv/mv.1:1.28 Wed Aug 10 18:08:14 2016
+++ src/bin/mv/mv.1 Mon Jul 3 21:33:23 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: mv.1,v 1.28 2016/08/10 18:08:14 sevan Exp $
+.\" $NetBSD: mv.1,v 1.29 2017/07/03 21:33:23 wiz Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -121,14 +121,14 @@ will remove the destination file, copy t
destination, and then remove the source.
The effect is roughly equivalent to:
.Bd -literal -offset indent
-rm -f destination_path \*[Am]\*[Am] \e
-cp -PRp source_file destination_path \*[Am]\*[Am] \e
+rm -f destination_path && \e
+cp -PRp source_file destination_path && \e
rm -rf source_file
.Ed
.Sh EXIT STATUS
The
.Nm
-utility exits 0 on success, and \*[Gt]0 if an error occurs.
+utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr cp 1 ,
.Xr rename 2 ,
Index: src/bin/pax/cpio.1
diff -u src/bin/pax/cpio.1:1.14 src/bin/pax/cpio.1:1.15
--- src/bin/pax/cpio.1:1.14 Sat Dec 19 18:48:33 2015
+++ src/bin/pax/cpio.1 Mon Jul 3 21:33:23 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: cpio.1,v 1.14 2015/12/19 18:48:33 wiz Exp $
+.\" $NetBSD: cpio.1,v 1.15 2017/07/03 21:33:23 wiz Exp $
.\"
.\" Copyright (c) 1997 SigmaSoft, Th. Lockert
.\" All rights reserved.
@@ -39,8 +39,8 @@
.Op Fl F Ar archive
.Op Fl H Ar format
.Op Fl O Ar archive
-.Ar "\*[Lt] name-list"
-.Op Ar "\*[Gt] archive"
+.Ar "< name-list"
+.Op Ar "> archive"
.Nm cpio
.Fl i
.Op Fl 6BbcdfmrSstuvZz
@@ -50,12 +50,12 @@
.Op Fl H Ar format
.Op Fl I Ar archive
.Op Ar "pattern ..."
-.Op Ar "\*[Lt] archive"
+.Op Ar "< archive"
.Nm cpio
.Fl p
.Op Fl adLlmuv
.Ar destination-directory
-.Ar "\*[Lt] name-list"
+.Ar "< name-list"
.Sh DESCRIPTION
The
.Nm
Index: src/bin/pax/pax.1
diff -u src/bin/pax/pax.1:1.68 src/bin/pax/pax.1:1.69
--- src/bin/pax/pax.1:1.68 Fri Aug 12 01:52:22 2016
+++ src/bin/pax/pax.1 Mon Jul 3 21:33:23 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pax.1,v 1.68 2016/08/12 01:52:22 sevan Exp $
+.\" $NetBSD: pax.1,v 1.69 2017/07/03 21:33:23 wiz Exp $
.\"
.\" Copyright (c) 1992 Keith Muller.
.\" Copyright (c) 1992, 1993
@@ -578,7 +578,7 @@ As in
.Cm old
is a basic regular expression and
.Cm new
-can contain an ampersand (\*[Am]), \en (where n is a digit) back-references,
+can contain an ampersand (&), \en (where n is a digit) back-references,
or subexpression matching.
The
.Cm old
@@ -604,7 +604,7 @@ The optional trailing
will cause the final result of a successful substitution to be written to
.Dv standard error
in the following format:
-.Dl Ao "original pathname" Ac \*[Gt]\*[Gt] Ao "new pathname" Ac
+.Dl Ao "original pathname" Ac >> Ao "new pathname" Ac
File or archive member names that substitute to the empty string
are not selected and will be skipped.
.It Fl t
Index: src/bin/pax/tar.1
diff -u src/bin/pax/tar.1:1.36 src/bin/pax/tar.1:1.37
--- src/bin/pax/tar.1:1.36 Sat Dec 19 18:28:54 2015
+++ src/bin/pax/tar.1 Mon Jul 3 21:33:23 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: tar.1,v 1.36 2015/12/19 18:28:54 christos Exp $
+.\" $NetBSD: tar.1,v 1.37 2017/07/03 21:33:23 wiz Exp $
.\"
.\" Copyright (c) 1996 SigmaSoft, Th. Lockert
.\" All rights reserved.
@@ -170,7 +170,7 @@ As in
.Cm old
is a basic regular expression and
.Cm new
-can contain an ampersand (\*[Am]), \en (where n is a digit) back-references,
+can contain an ampersand (&), \en (where n is a digit) back-references,
or subexpression matching.
The
.Cm old
@@ -196,7 +196,7 @@ The optional trailing
will cause the final result of a successful substitution to be written to
.Dv standard error
in the following format:
-.Dl \*[Lt]original pathname\*[Gt] \*[Gt]\*[Gt] \*[Lt]new pathname\*[Gt]
+.Dl <original pathname> >> <new pathname>
File or archive member names that substitute to the empty string
are not selected and will be skipped.
The substitutions are applied by default to the destination hard and symbolic
Index: src/bin/ps/ps.1
diff -u src/bin/ps/ps.1:1.106 src/bin/ps/ps.1:1.107
--- src/bin/ps/ps.1:1.106 Fri Dec 2 21:59:03 2016
+++ src/bin/ps/ps.1 Mon Jul 3 21:33:23 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: ps.1,v 1.106 2016/12/02 21:59:03 christos Exp $
+.\" $NetBSD: ps.1,v 1.107 2017/07/03 21:33:23 wiz Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -378,7 +378,7 @@ information:
The process is in the foreground process group of its control terminal.
.It -
The LWP is detached (can't be waited for).
-.It \*[Lt]
+.It <
The process has raised
.Tn CPU
scheduling priority.
Index: src/bin/pwd/pwd.1
diff -u src/bin/pwd/pwd.1:1.25 src/bin/pwd/pwd.1:1.26
--- src/bin/pwd/pwd.1:1.25 Fri Aug 12 02:03:26 2016
+++ src/bin/pwd/pwd.1 Mon Jul 3 21:33:23 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: pwd.1,v 1.25 2016/08/12 02:03:26 sevan Exp $
+.\" $NetBSD: pwd.1,v 1.26 2017/07/03 21:33:23 wiz Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -71,7 +71,7 @@ default).
.Sh EXIT STATUS
The
.Nm
-utility exits 0 on success, and \*[Gt]0 if an error occurs.
+utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr cd 1 ,
.Xr csh 1 ,
Index: src/bin/rcmd/rcmd.1
diff -u src/bin/rcmd/rcmd.1:1.21 src/bin/rcmd/rcmd.1:1.22
--- src/bin/rcmd/rcmd.1:1.21 Tue May 31 11:31:10 2011
+++ src/bin/rcmd/rcmd.1 Mon Jul 3 21:33:23 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: rcmd.1,v 1.21 2011/05/31 11:31:10 wiz Exp $
+.\" $NetBSD: rcmd.1,v 1.22 2017/07/03 21:33:23 wiz Exp $
.\"
.\" Copyright (c) 1997 Matthew R. Green.
.\" All rights reserved.
@@ -131,7 +131,7 @@ Shell metacharacters which are not quote
while quoted metacharacters are interpreted on the remote machine.
For example, the command
.Pp
-.Dl rcmd otherhost cat remotefile \*[Gt]\*[Gt] localfile
+.Dl rcmd otherhost cat remotefile >> localfile
.Pp
appends the remote file
.Ar remotefile
@@ -139,7 +139,7 @@ to the local file
.Ar localfile ,
while
.Pp
-.Dl rcmd otherhost cat remotefile \&"\*[Gt]\*[Gt]\&" other_remotefile
+.Dl rcmd otherhost cat remotefile \&">>\&" other_remotefile
.Pp
appends
.Ar remotefile
Index: src/bin/rm/rm.1
diff -u src/bin/rm/rm.1:1.28 src/bin/rm/rm.1:1.29
--- src/bin/rm/rm.1:1.28 Fri Aug 12 02:26:42 2016
+++ src/bin/rm/rm.1 Mon Jul 3 21:33:23 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: rm.1,v 1.28 2016/08/12 02:26:42 sevan Exp $
+.\" $NetBSD: rm.1,v 1.29 2017/07/03 21:33:23 wiz Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994, 2003
.\" The Regents of the University of California. All rights reserved.
@@ -129,7 +129,7 @@ option was specified and all of the exis
removed.
If an error occurs,
.Nm
-exits with a value \*[Gt]0.
+exits with a value >0.
.Sh EXAMPLES
.Nm
uses
@@ -181,7 +181,7 @@ The
.Fl P
option attempts to conform to U.S. DoD 5220-22.M, "National Industrial
Security Program Operating Manual" ("NISPOM") as updated by Change
-2 and the July 23, 2003 "Clearing \*[Am] Sanitization Matrix".
+2 and the July 23, 2003 "Clearing & Sanitization Matrix".
However, unlike earlier revisions of NISPOM, the 2003 matrix imposes
requirements which make it clear that the standard does not and
can not apply to the erasure of individual files, in particular
Index: src/bin/rmdir/rmdir.1
diff -u src/bin/rmdir/rmdir.1:1.16 src/bin/rmdir/rmdir.1:1.17
--- src/bin/rmdir/rmdir.1:1.16 Fri Aug 12 02:30:37 2016
+++ src/bin/rmdir/rmdir.1 Mon Jul 3 21:33:23 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: rmdir.1,v 1.16 2016/08/12 02:30:37 sevan Exp $
+.\" $NetBSD: rmdir.1,v 1.17 2017/07/03 21:33:23 wiz Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -77,7 +77,7 @@ utility exits with one of the following
Each directory entry specified by a dir operand
referred to an empty directory and was removed
successfully.
-.It Li \&\*[Gt]\&0
+.It Li \&>\&0
An error occurred.
.El
.Sh SEE ALSO
Index: src/bin/sh/bltin/echo.1
diff -u src/bin/sh/bltin/echo.1:1.13 src/bin/sh/bltin/echo.1:1.14
--- src/bin/sh/bltin/echo.1:1.13 Thu Aug 7 09:05:40 2003
+++ src/bin/sh/bltin/echo.1 Mon Jul 3 21:33:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: echo.1,v 1.13 2003/08/07 09:05:40 agc Exp $
+.\" $NetBSD: echo.1,v 1.14 2017/07/03 21:33:24 wiz Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -96,7 +96,7 @@ Output a backslash.
Remember that backslash is special to the shell and needs to be escaped.
To output a message to standard error, say
.Pp
-.D1 echo message \*[Gt]\*[Am]2
+.D1 echo message >&2
.Sh BUGS
The octal character escape mechanism
.Pq Li \e0 Ns Ar digits
Index: src/bin/sleep/sleep.1
diff -u src/bin/sleep/sleep.1:1.23 src/bin/sleep/sleep.1:1.24
--- src/bin/sleep/sleep.1:1.23 Fri Aug 12 02:36:38 2016
+++ src/bin/sleep/sleep.1 Mon Jul 3 21:33:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: sleep.1,v 1.23 2016/08/12 02:36:38 sevan Exp $
+.\" $NetBSD: sleep.1,v 1.24 2017/07/03 21:33:24 wiz Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -71,13 +71,13 @@ utility exits with one of the following
On successful completion, or if the signal
.Dv SIGALRM
was received.
-.It Li \&\*[Gt]\&0
+.It Li \&>\&0
An error occurred.
.El
.Sh EXAMPLES
To schedule the execution of a command for 1800 seconds later:
.Pp
-.Dl (sleep 1800; sh command_file \*[Gt]\*[Am] errors)\*[Am]
+.Dl (sleep 1800; sh command_file >& errors)&
.Pp
This incantation would wait half an hour before
running the script command_file.
@@ -95,7 +95,7 @@ while (1)
else
foreach i (*.rawdata)
sleep 70
- awk -f collapse_data $i \*[Gt]\*[Gt] results
+ awk -f collapse_data $i >> results
end
break
endif
Index: src/bin/test/test.1
diff -u src/bin/test/test.1:1.30 src/bin/test/test.1:1.31
--- src/bin/test/test.1:1.30 Fri Aug 12 03:17:41 2016
+++ src/bin/test/test.1 Mon Jul 3 21:33:24 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: test.1,v 1.30 2016/08/12 03:17:41 sevan Exp $
+.\" $NetBSD: test.1,v 1.31 2017/07/03 21:33:24 wiz Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -206,13 +206,13 @@ True if the strings
and
.Ar \&s\&2
are not identical.
-.It Ar \&s\&1 Cm \&\*[Lt] Ar \&s\&2
+.It Ar \&s\&1 Cm \&< Ar \&s\&2
True if string
.Ar \&s\&1
comes before
.Ar \&s\&2
based on the ASCII value of their characters.
-.It Ar \&s\&1 Cm \&\*[Gt] Ar \&s\&2
+.It Ar \&s\&1 Cm \&> Ar \&s\&2
True if string
.Ar \&s\&1
comes after
@@ -304,7 +304,7 @@ evaluated to true.
.It 1
.Ar expression
evaluated to false or was missing.
-.It \*[Gt]1
+.It >1
An error occurred.
.El
.Sh STANDARDS