summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/cat/cat.110
-rw-r--r--bin/chio/chio.144
-rw-r--r--bin/chmod/chmod.112
-rw-r--r--bin/cp/cp.124
-rw-r--r--bin/csh/csh.146
-rw-r--r--bin/date/date.16
-rw-r--r--bin/dd/dd.118
-rw-r--r--bin/df/df.113
-rw-r--r--bin/domainname/domainname.112
-rw-r--r--bin/echo/echo.110
-rw-r--r--bin/ed/ed.14
-rw-r--r--bin/expr/expr.112
-rw-r--r--bin/hostname/hostname.18
-rw-r--r--bin/kill/kill.122
-rw-r--r--bin/ln/ln.116
-rw-r--r--bin/ls/ls.118
-rw-r--r--bin/mkdir/mkdir.110
-rw-r--r--bin/mt/mt.118
-rw-r--r--bin/mv/mv.120
-rw-r--r--bin/pax/cpio.18
-rw-r--r--bin/pax/pax.194
-rw-r--r--bin/ps/ps.116
-rw-r--r--bin/pwd/pwd.18
-rw-r--r--bin/rcp/rcp.122
-rw-r--r--bin/rm/rm.116
-rw-r--r--bin/rmail/rmail.812
-rw-r--r--bin/rmdir/rmdir.112
-rw-r--r--bin/sleep/sleep.112
-rw-r--r--bin/stty/stty.112
-rw-r--r--bin/sync/sync.810
-rw-r--r--bin/test/test.112
31 files changed, 279 insertions, 278 deletions
diff --git a/bin/cat/cat.1 b/bin/cat/cat.1
index 7067af21c94..2cdfb4135c6 100644
--- a/bin/cat/cat.1
+++ b/bin/cat/cat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cat.1,v 1.5 1998/09/14 22:13:34 aaron Exp $
+.\" $OpenBSD: cat.1,v 1.6 1998/11/28 03:20:31 aaron Exp $
.\" $NetBSD: cat.1,v 1.12 1995/09/27 05:38:55 cgd Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
@@ -44,13 +44,13 @@
.Nm cat
.Nd concatenate and print files
.Sh SYNOPSIS
-.Nm cat
+.Nm
.Op Fl benstuv
.Op Fl
.Op Ar
.Sh DESCRIPTION
The
-.Nm cat
+.Nm
utility reads files sequentially, writing them to the standard output.
The
.Ar file
@@ -98,7 +98,7 @@ Non-ASCII characters (with the high bit set) are printed as
.El
.Pp
The
-.Nm cat
+.Nm
utility exits 0 on success or >0 if an error occurred.
.Sh BUGS
Because of the shell language mechanism used to perform output
@@ -125,7 +125,7 @@ A
utility appeared in Version 6 AT&T UNIX.
.Sh STANDARDS
The
-.Nm cat
+.Nm
utility is compliant with the
.St -p1003.2-92
specification.
diff --git a/bin/chio/chio.1 b/bin/chio/chio.1
index e8bbd2aa8ee..d87c06249ef 100644
--- a/bin/chio/chio.1
+++ b/bin/chio/chio.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chio.1,v 1.7 1998/09/14 22:13:37 aaron Exp $
+.\" $OpenBSD: chio.1,v 1.8 1998/11/28 03:20:31 aaron Exp $
.\" $NetBSD: chio.1,v 1.1.1.1 1996/04/03 00:34:38 thorpej Exp $
.\"
.\" Copyright (c) 1996 Jason R. Thorpe <thorpej@and.com>
@@ -38,7 +38,7 @@
.Nm chio
.Nd medium changer control utility
.Sh SYNOPSIS
-.Nm chio
+.Nm
.Op Fl f Ar changer
.Ar command
.Ar arg1
@@ -48,7 +48,7 @@
.Oc
.Oc
.Sh DESCRIPTION
-.Nm chio
+.Nm
is used to control the operation of medium changers, such as those found
in tape and optical disk jukeboxes.
.Pp
@@ -76,9 +76,9 @@ There are four element types:
(import/export), and
.Pa drive
(data transfer). In this command description, the shorthand
-.Nm ET
+.Dq ET
will be used to represent an element type, and
-.Nm EU
+.Dq EU
will be used to represent an element unit. For example, to represent
the first robotic arm in the changer, the ET would be
.Dq picker
@@ -86,7 +86,7 @@ and the EU would be
.Dq 0 .
.Pp
.Sh SUPPORTED COMMANDS
-.Nm chio move
+.Cm chio move
.Ar <from ET> <from EU> <to ET> <to EU>
.Op Ar inv
.Pp
@@ -98,7 +98,7 @@ If the optional modifier
.Pa inv
is specified, the media unit will be inverted before insertion.
.Pp
-.Nm chio exchange
+.Cm chio exchange
.Ar <src ET> <src EU> <dst1 ET> <dst1 EU>
.Op Ar <dst2 ET> <dst2 ET>
.Op Ar inv1
@@ -128,11 +128,11 @@ and
respectively.
.Pp
Note that not all medium changers support the
-.Nm exchange
+.Cm exchange
operation; the changer must have multiple free pickers or emulate
multiple free pickers with transient storage.
.Pp
-.Nm chio position
+.Cm chio position
.Ar <to ET> <to EU>
.Op Ar inv
.Pp
@@ -144,22 +144,22 @@ is specified, the media unit will be inverted before insertion.
.Pp
Note that not all changers behave as expected when issued this command.
.Pp
-.Nm chio params
+.Cm chio params
.Pp
Report the number of slots, drives, pickers, and portals in the changer,
and which picker unit the changer is currently configured to use.
.Pp
-.Nm chio getpicker
+.Cm chio getpicker
.Pp
Report which picker unit the changer is currently configured to use.
.Pp
-.Nm chio setpicker
+.Cm chio setpicker
.Ar <unit>
.Pp
Configure the changer to use picker
.Pa <unit> .
.Pp
-.Nm chio status
+.Cm chio status
.Op Ar <type>
.Pp
Report the status of all elements in the changer. If
@@ -169,26 +169,26 @@ is specified, report the status of all elements of type
.Pp
The status bits are defined as follows:
.Bl -tag -width indent
-.It Nm FULL
+.It Dv FULL
Element contains a media unit.
-.It Nm IMPEXP
+.It Dv IMPEXP
Media was deposited into element by an outside human operator.
-.It Nm EXCEPT
+.It Dv EXCEPT
Element is in an abnormal state.
-.It Nm ACCESS
+.It Dv ACCESS
Media in this element is accessible by a picker.
-.It Nm EXENAB
+.It Dv EXENAB
Element supports passing media (exporting) to an outside human operator.
-.It Nm INENAB
+.It Dv INENAB
Element supports receiving media (importing) from an outside human operator.
.El
.Pp
.Sh EXAMPLES
-.Nm chio move slot 3 drive 0
+.Cm chio move slot 3 drive 0
.Pp
Moves the media in slot 3 (fourth slot) to drive 0 (first drive).
.Pp
-.Nm chio setpicker 2
+.Cm chio setpicker 2
.Pp
Configures the changer to use picker 2 (third picker) for operations.
.Pp
@@ -203,6 +203,6 @@ default changer device
.Xr mount 8
.Sh AUTHOR
The
-.Nm chio
+.Nm
program and SCSI changer driver were written by Jason R. Thorpe
<thorpej@and.com> for And Communications (http://www.and.com/).
diff --git a/bin/chmod/chmod.1 b/bin/chmod/chmod.1
index f57e61065ea..4acbca725e7 100644
--- a/bin/chmod/chmod.1
+++ b/bin/chmod/chmod.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chmod.1,v 1.6 1998/11/06 00:34:07 aaron Exp $
+.\" $OpenBSD: chmod.1,v 1.7 1998/11/28 03:20:31 aaron Exp $
.\" $NetBSD: chmod.1,v 1.8 1995/03/21 09:02:07 cgd Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993, 1994
@@ -44,7 +44,7 @@
.Nm chmod
.Nd change file modes
.Sh SYNOPSIS
-.Nm chmod
+.Nm
.Oo
.Fl R
.Op Fl H | Fl L | Fl P
@@ -53,7 +53,7 @@
.Ar file Op Ar ...
.Sh DESCRIPTION
The
-.Nm chmod
+.Nm
utility modifies the file mode bits of the listed files
as specified by the
.Ar mode
@@ -84,7 +84,7 @@ Symbolic links do not have modes, so unless the
or
.Fl L
option is set,
-.Nm chmod
+.Nm
on a symbolic link always succeeds and has no effect.
The
.Fl H ,
@@ -101,7 +101,7 @@ Only the owner of a file or the super-user is permitted to change
the mode of a file.
.Pp
The
-.Nm chmod
+.Nm
utility exits 0 on success or >0 if an error occurred.
.Sh MODES
Modes may be absolute or symbolic.
@@ -310,7 +310,7 @@ option for the naughty bits.
.Xr chown 8
.Sh STANDARDS
The
-.Nm chmod
+.Nm
utility is expected to be
.St -p1003.2
compatible with the exception of the
diff --git a/bin/cp/cp.1 b/bin/cp/cp.1
index 2d4b3a2a09f..0dd20a17f52 100644
--- a/bin/cp/cp.1
+++ b/bin/cp/cp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cp.1,v 1.4 1998/09/14 22:13:37 aaron Exp $
+.\" $OpenBSD: cp.1,v 1.5 1998/11/28 03:20:31 aaron Exp $
.\" $NetBSD: cp.1,v 1.9 1995/07/25 19:36:45 jtc Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993, 1994
@@ -44,14 +44,14 @@
.Nm cp
.Nd copy files
.Sh SYNOPSIS
-.Nm cp
+.Nm
.Oo
.Fl R
.Op Fl H | Fl L | Fl P
.Oc
.Op Fl fip
.Ar source_file target_file
-.Nm cp
+.Nm
.Oo
.Fl R
.Op Fl H | Fl L | Fl P
@@ -60,7 +60,7 @@
.Ar source_file ... target_directory
.Sh DESCRIPTION
In the first synopsis form, the
-.Nm cp
+.Nm
utility copies the contents of the
.Ar source_file
to the
@@ -72,7 +72,7 @@ are copied to the destination
.Ar target_directory .
The names of the files themselves are not changed.
If
-.Nm cp
+.Nm
detects an attempt to copy a file to itself, the copy will fail.
.Pp
The following options are available:
@@ -94,11 +94,11 @@ option is specified, no symbolic links are followed.
If
.Ar source_file
designates a directory,
-.Nm cp
+.Nm
copies the directory and the entire subtree connected at that point.
This option also causes symbolic links to be copied, rather than
indirected through, and for
-.Nm cp
+.Nm
to create special files rather than copying them as normal files.
Created directories have the same mode as the corresponding source
directory, unmodified by the process's umask.
@@ -113,7 +113,7 @@ option is ignored if the
option is specified.)
.It Fl i
Causes
-.Nm cp
+.Nm
to write a prompt to the standard error output before copying a file
that would overwrite an existing file.
If the response from the standard input begins with the character
@@ -121,7 +121,7 @@ If the response from the standard input begins with the character
the file copy is attempted.
.It Fl p
Causes
-.Nm cp
+.Nm
to preserve in the copy as many of the modification time, access time,
file flags, file mode, user ID, and group ID as allowed by permissions.
.Pp
@@ -190,11 +190,11 @@ In addition, these options override each other and the
command's actions are determined by the last one specified.
.Pp
The
-.Nm cp
+.Nm
utility exits 0 on success or >0 if an error occurred.
.Sh COMPATIBILITY
Historic versions of the
-.Nm cp
+.Nm
utility had a
.Fl r
option.
@@ -209,7 +209,7 @@ or FIFOs.
.Xr symlink 7
.Sh STANDARDS
The
-.Nm cp
+.Nm
utility is expected to be
.St -p1003.2
compatible.
diff --git a/bin/csh/csh.1 b/bin/csh/csh.1
index e40f4451a36..4c2dbbbc77b 100644
--- a/bin/csh/csh.1
+++ b/bin/csh/csh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: csh.1,v 1.18 1998/11/19 23:33:45 aaron Exp $
+.\" $OpenBSD: csh.1,v 1.19 1998/11/28 03:20:31 aaron Exp $
.\" $NetBSD: csh.1,v 1.10 1995/03/21 09:02:35 cgd Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -41,21 +41,21 @@
.Nm csh
.Nd a shell (command interpreter) with C-like syntax
.Sh SYNOPSIS
-.Nm csh
+.Nm
.Op Fl bcefinstvVxX
.Op arg ...
-.Nm csh
+.Nm
.Op Fl l
.Sh DESCRIPTION
-.Nm csh
+.Nm
is a command language interpreter
incorporating a history mechanism (see
-.Nm History Substitutions ) ,
+.Sx History substitutions ) ,
job control facilities (see
-.Nm Jobs ) ,
+.Sx Jobs ) ,
interactive file name
and user name completion (see
-.Nm File Name Completion ) ,
+.Sx File name completion ) ,
and a C-like syntax. It is used both as an interactive
login shell and a shell script command processor.
.Ss Argument list processing
@@ -160,7 +160,7 @@ Remaining arguments initialize the variable
.Va argv .
.Pp
An instance of
-.Nm csh
+.Nm
begins by executing commands from the file
.Pa /etc/csh.cshrc
and,
@@ -429,7 +429,7 @@ the shell variable
.Va filec
(see
.Ic set ) ,
-.Nm csh
+.Nm
will
interactively complete file names and user names from unique
prefixes when they are input from the terminal followed by
@@ -446,7 +446,7 @@ and the input is
.Pp
.Dl % vi ch<escape>
.Pp
-.Nm csh
+.Nm
will complete the prefix
.Dq ch
to the only matching file name
@@ -459,7 +459,7 @@ However, given
.Pp
.Dl % vi D<escape>
.Pp
-.Nm csh
+.Nm
will only expand the input to
.Pp
.Dl % vi DSC.
@@ -470,7 +470,7 @@ incomplete, since there are two file names matching the prefix
.Pp
If a partial file name is followed by the end-of-file character
(usually control-D), then, instead of completing the name,
-.Nm csh
+.Nm
will list all file names matching the prefix. For example,
the input
.Pp
@@ -538,8 +538,8 @@ History substitutions begin with the character
.Dq !
and may begin
.Em anywhere
-in the input stream (with the proviso that they
-.Nm "do not"
+in the input stream (with the proviso that they do
+.Em not
nest.)
This
.Dq !
@@ -907,7 +907,7 @@ occurs.
Strings quoted by backticks
.Pq ` `
are interpreted later (see
-.Nm "Command substitution"
+.Sx Command substitution
below) so
.Dq $
substitution does not occur there until later, if at all.
@@ -958,7 +958,7 @@ If
.Ar name
is not a shell variable, but is set in the environment, then
that value is returned (but
-.Nm :
+.Dq :
modifiers and the other forms
given below are not available here).
.It $name Ns Op selector
@@ -1303,11 +1303,11 @@ Several of the built-in commands (to be described later)
take expressions, in which the operators are similar to those of C, with
the same precedence.
These expressions appear in the
-.Nm @ ,
-.Ar exit ,
-.Ar if ,
+.Ic @ ,
+.Ic exit ,
+.Ic if ,
and
-.Ar while
+.Ic while
commands.
The following operators are available:
.Bd -ragged -offset indent
@@ -2030,7 +2030,7 @@ The most commonly used environment variables
and
.Ev PATH
are automatically imported to and exported from the
-.Nm csh
+.Nm
variables
.Ar user ,
.Ar term ,
@@ -2300,7 +2300,7 @@ is likewise handled; it is not
necessary to worry about its setting other than in the file
.Pa \&.cshrc
as inferior
-.Nm csh
+.Nm
processes will import the definition of
.Ar path
from the environment, and re-export it if you then change it.
@@ -2630,7 +2630,7 @@ substitutions on a single line to 20.
.Pp
.Em 'An introduction to the C shell'
.Sh HISTORY
-.Nm csh
+.Nm
appeared in
.Bx 3 .
It
diff --git a/bin/date/date.1 b/bin/date/date.1
index d198ac57339..6eeb2f1b232 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: date.1,v 1.15 1998/11/11 22:27:03 aaron Exp $
+.\" $OpenBSD: date.1,v 1.16 1998/11/28 03:20:32 aaron Exp $
.\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -44,7 +44,7 @@
.Nm date
.Nd display or set date and time
.Sh SYNOPSIS
-.Nm date
+.Nm
.Op Fl d Ar dst
.Op Fl r Ar seconds
.Op Fl t Ar minutes_west
@@ -52,7 +52,7 @@
.Op Cm + Ns Ar format
.Op [[[[[cc]yy]mm]dd]HH]MM[\&.SS]
.Sh DESCRIPTION
-.Nm date
+.Nm
displays the current date and time when invoked without arguments.
Providing arguments will format the date and time in a user-defined
way or set the date.
diff --git a/bin/dd/dd.1 b/bin/dd/dd.1
index dbfbabb6e0c..edb492daab8 100644
--- a/bin/dd/dd.1
+++ b/bin/dd/dd.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dd.1,v 1.5 1998/11/06 00:34:07 aaron Exp $
+.\" $OpenBSD: dd.1,v 1.6 1998/11/28 03:20:32 aaron Exp $
.\" $NetBSD: dd.1,v 1.5 1995/03/21 09:04:04 cgd Exp $
.\"
.\" Copyright (c) 1990, 1993
@@ -44,7 +44,7 @@
.Nm dd
.Nd convert and copy a file
.Sh SYNOPSIS
-.Nm dd
+.Nm
.Op operands ...
.Sh DESCRIPTION
The
@@ -54,7 +54,7 @@ Input data is read and written in 512-byte blocks.
If input reads are short, input from multiple reads are aggregated
to form the output block.
When finished,
-.Nm dd
+.Nm
displays the number of complete and partial input and output blocks
and truncated input records to the standard error output.
.Pp
@@ -292,7 +292,7 @@ Two or more numbers may be separated by an
to indicate a product.
.Pp
When finished,
-.Nm dd
+.Nm
displays the number of complete and partial input and output blocks,
truncated input records and odd-length byte-swapping blocks to the
standard error output.
@@ -315,7 +315,7 @@ This means that the final output block may be shorter than the output
block size.
.Pp
If
-.Nm dd
+.Nm
receives a
.Dv SIGINFO
(see the
@@ -326,17 +326,17 @@ signal, the current input and output block counts will
be written to the standard error output
in the same format as the standard completion message.
If
-.Nm dd
+.Nm
receives a
.Dv SIGINT
signal, the current input and output block counts will
be written to the standard error output
in the same format as the standard completion message and
-.Nm dd
+.Nm
will exit.
.Pp
The
-.Nm dd
+.Nm
utility exits 0 on success or >0 if an error occurred.
.Sh SEE ALSO
.Xr cp 1 ,
@@ -344,7 +344,7 @@ utility exits 0 on success or >0 if an error occurred.
.Xr tr 1
.Sh STANDARDS
The
-.Nm dd
+.Nm
utility is expected to be a superset of the
.St -p1003.2
standard.
diff --git a/bin/df/df.1 b/bin/df/df.1
index b4fbc34dffd..2b8796c36ec 100644
--- a/bin/df/df.1
+++ b/bin/df/df.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: df.1,v 1.12 1998/09/23 00:13:48 aaron Exp $
+.\" $OpenBSD: df.1,v 1.13 1998/11/28 03:20:32 aaron Exp $
.\" $NetBSD: df.1,v 1.12 1995/12/05 02:42:45 jtc Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
@@ -41,12 +41,12 @@
.Nm df
.Nd display free disk space
.Sh SYNOPSIS
-.Nm df
+.Nm
.Op Fl hiklnP
.Op Fl t Ar type
.Op Ar file | Ar file_system ...
.Sh DESCRIPTION
-.Nm df
+.Nm
displays statistics about the amount of free disk space on the specified
.Ar file_system
or on the file system of which
@@ -86,7 +86,7 @@ This option should be used if it is possible that one or more
file systems are in a state such that they will not be able to provide
statistics without a long delay.
When this option is specified,
-.Nm df
+.Nm
will not request new statistics from the file systems, but will respond
with the possibly stale statistics that were previously obtained.
.It Fl P
@@ -126,12 +126,13 @@ size block.
.Xr quot 8
.Sh STANDARDS
The
-.Nm df
+.Nm
utility is compliant with the
.St -p1003.2-92
specification.
.Sh HISTORY
A
-.Nm df
+.Nm
utility appeared in
.At v6 .
+
diff --git a/bin/domainname/domainname.1 b/bin/domainname/domainname.1
index 969c761e4c6..a15a8124da6 100644
--- a/bin/domainname/domainname.1
+++ b/bin/domainname/domainname.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: domainname.1,v 1.4 1998/09/14 22:13:45 aaron Exp $
+.\" $OpenBSD: domainname.1,v 1.5 1998/11/28 03:20:32 aaron Exp $
.\" $NetBSD: domainname.1,v 1.7 1995/07/25 19:36:57 jtc Exp $
.\"
.\" Copyright (c) 1983, 1988, 1990, 1993
@@ -41,10 +41,10 @@
.Nm domainname
.Nd set or print YP domain of current host system
.Sh SYNOPSIS
-.Nm domainname
+.Nm
.Op Ar name-of-domain
.Sh DESCRIPTION
-.Nm domainname
+.Nm
prints the YP domain name of the current host. The super-user can
set the domain name by supplying an argument; this is usually done in the
network initialization script
@@ -57,12 +57,12 @@ time.
.Xr setdomainname 3
.Sh HISTORY
The
-.Nm domainname
+.Nm
utility is derived from the
-.Nm hostname
+.Xr hostname 1
utility, which appeared in
.Bx 4.2 .
The
-.Nm domainname
+.Nm
utility appeared in
.Nx 0.8 .
diff --git a/bin/echo/echo.1 b/bin/echo/echo.1
index 93b78ed15b5..f3c0929e5f1 100644
--- a/bin/echo/echo.1
+++ b/bin/echo/echo.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: echo.1,v 1.4 1998/11/06 00:34:08 aaron Exp $
+.\" $OpenBSD: echo.1,v 1.5 1998/11/28 03:20:33 aaron Exp $
.\" $NetBSD: echo.1,v 1.7 1995/03/21 09:04:26 cgd Exp $
.\"
.\" Copyright (c) 1990, 1993
@@ -44,12 +44,12 @@
.Nm echo
.Nd write arguments to the standard output
.Sh SYNOPSIS
-.Nm echo
+.Nm
.Op Fl n
.Op Ar string ...
.Sh DESCRIPTION
The
-.Nm echo
+.Nm
utility writes any specified operands, separated by single blank
.Pq Sq \
characters and followed by a newline
@@ -64,13 +64,13 @@ Do not print the trailing newline character.
.El
.Pp
The
-.Nm echo
+.Nm
utility exits 0 on success or >0 if an error occurred.
.Sh SEE ALSO
.Xr printf 1
.Sh STANDARDS
The
-.Nm echo
+.Nm
utility is expected to be
.St -p1003.2
compatible.
diff --git a/bin/ed/ed.1 b/bin/ed/ed.1
index 4120916ee33..7d76aa5526b 100644
--- a/bin/ed/ed.1
+++ b/bin/ed/ed.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ed.1,v 1.14 1998/11/06 00:34:08 aaron Exp $
+.\" $OpenBSD: ed.1,v 1.15 1998/11/28 03:20:33 aaron Exp $
.\"
.Dd May 2, 1993
.Dt ED 1
@@ -7,7 +7,7 @@
.Nm ed
.Nd text editor
.Sh SYNOPSIS
-.Nm ed
+.Nm
.Op Fl
.Op Fl sx
.Op Fl p Ar string
diff --git a/bin/expr/expr.1 b/bin/expr/expr.1
index 0337cbd1dd6..9cfd266f170 100644
--- a/bin/expr/expr.1
+++ b/bin/expr/expr.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: expr.1,v 1.4 1998/09/14 22:13:47 aaron Exp $
+.\" $OpenBSD: expr.1,v 1.5 1998/11/28 03:20:33 aaron Exp $
.\" $NetBSD: expr.1,v 1.9 1995/04/28 23:27:13 jtc Exp $
.\"
.\" Written by J.T. Conklin <jtc@netbsd.org>.
@@ -11,17 +11,17 @@
.Nm expr
.Nd evaluate expression
.Sh SYNOPSIS
-.Nm expr
+.Nm
.Ar expression
.Sh DESCRIPTION
The
-.Nm expr
+.Nm
utility evaluates
.Ar expression
and writes the result on standard output.
.Pp
All operators are separate arguments to the
-.Nm expr
+.Nm
utility.
Characters special to the command interpreter must be escaped.
.Pp
@@ -89,7 +89,7 @@ The following example returns the number of characters in variable a.
.El
.Sh DIAGNOSTICS
The
-.Nm expr
+.Nm
utility exits with one of the following values:
.Pp
.Bl -tag -width Ds -compact
@@ -104,6 +104,6 @@ An error occurred (such as memory allocation failure).
.El
.Sh STANDARDS
The
-.Nm expr
+.Nm
utility conforms to
.St -p1003.2 .
diff --git a/bin/hostname/hostname.1 b/bin/hostname/hostname.1
index 3c2229d2cd8..469515ab9f4 100644
--- a/bin/hostname/hostname.1
+++ b/bin/hostname/hostname.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hostname.1,v 1.4 1998/09/14 22:13:48 aaron Exp $
+.\" $OpenBSD: hostname.1,v 1.5 1998/11/28 03:20:33 aaron Exp $
.\" $NetBSD: hostname.1,v 1.11 1995/09/07 06:28:39 jtc Exp $
.\"
.\" Copyright (c) 1983, 1988, 1990, 1993
@@ -41,11 +41,11 @@
.Nm hostname
.Nd set or print name of current host system
.Sh SYNOPSIS
-.Nm hostname
+.Nm
.Op Fl s
.Op Ar name-of-host
.Sh DESCRIPTION
-.Nm hostname
+.Nm
prints the name of the current host. The super-user can
set the host name by supplying an argument; this is usually done in the
network initialization script
@@ -65,6 +65,6 @@ name.
.Xr sethostname 3
.Sh HISTORY
The
-.Nm hostname
+.Nm
utility appeared in
.Bx 4.2 .
diff --git a/bin/kill/kill.1 b/bin/kill/kill.1
index fe725d22c22..f8a2f794a0c 100644
--- a/bin/kill/kill.1
+++ b/bin/kill/kill.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kill.1,v 1.5 1998/11/06 00:34:08 aaron Exp $
+.\" $OpenBSD: kill.1,v 1.6 1998/11/28 03:20:33 aaron Exp $
.\" $NetBSD: kill.1,v 1.8 1995/09/07 06:30:26 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -44,24 +44,24 @@
.Nm kill
.Nd terminate or signal a process
.Sh SYNOPSIS
-.Nm kill
+.Nm
.Op Fl s Ar signal_name
.Ar PID
.Ar \&...
-.Nm kill
+.Nm
.Fl l
.Op Ar exit_status
-.Nm kill
+.Nm
.Fl signal_name
.Ar PID
.Ar \&...
-.Nm kill
+.Nm
.Fl signal_number
.Ar PID
.Ar \&...
.Sh DESCRIPTION
The
-.Nm kill
+.Nm
utility sends a signal to the processes specified
by the PID operand(s).
.Pp
@@ -114,14 +114,14 @@ ALRM (alarm clock)
TERM (software termination signal)
.El
.Pp
-.Nm kill
+.Nm
is built-in to
.Xr csh 1 ;
it allows job specifiers of the form
.Dq %...
as arguments
so process IDs are not as often used as
-.Nm kill
+.Nm
arguments.
See
.Xr csh 1
@@ -133,13 +133,13 @@ for details.
.Xr sigaction 2
.Sh STANDARDS
The
-.Nm kill
-function is expected to be
+.Nm
+utility is expected to be
.St -p1003.2
compatible.
.Sh HISTORY
A
-.Nm kill
+.Nm
command appeared in
.At v6 .
.Sh BUGS
diff --git a/bin/ln/ln.1 b/bin/ln/ln.1
index 3f1d6c491e7..adea21cf466 100644
--- a/bin/ln/ln.1
+++ b/bin/ln/ln.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ln.1,v 1.3 1998/09/14 22:13:49 aaron Exp $
+.\" $OpenBSD: ln.1,v 1.4 1998/11/28 03:20:33 aaron Exp $
.\" $NetBSD: ln.1,v 1.10 1995/07/25 19:37:04 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -44,17 +44,17 @@
.Nm ln
.Nd make links
.Sh SYNOPSIS
-.Nm ln
+.Nm
.Op Fl fs
.Ar source_file
.Op target_file
-.Nm ln
+.Nm
.Op Fl fs
.Ar source_file ...
.Op target_dir
.Sh DESCRIPTION
The
-.Nm ln
+.Nm
utility creates a new directory entry (linked file) which has the
same modes as the original file.
It is useful for maintaining multiple copies of a file in many places
@@ -77,7 +77,7 @@ Create a symbolic link.
.El
.Pp
By default,
-.Nm ln
+.Nm
makes
.Em hard
links.
@@ -101,7 +101,7 @@ call may be used to read the contents of a symbolic link.
Symbolic links may span file systems and may refer to directories.
.Pp
Given one or two arguments,
-.Nm ln
+.Nm
creates a link to an existing file
.Ar source_file .
If
@@ -115,7 +115,7 @@ to the last component of
.Ar source_file .
.Pp
Given more than two arguments,
-.Nm ln
+.Nm
makes links in
.Ar target_dir
to all the named source files.
@@ -129,6 +129,6 @@ The links made will have the same name as the files being linked to.
.Xr symlink 7
.Sh HISTORY
An
-.Nm ln
+.Nm
utility appeared in
.At v6 .
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1
index ad61496620f..3283f849f3a 100644
--- a/bin/ls/ls.1
+++ b/bin/ls/ls.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ls.1,v 1.11 1998/11/06 00:34:08 aaron Exp $
+.\" $OpenBSD: ls.1,v 1.12 1998/11/28 03:20:34 aaron Exp $
.\" $NetBSD: ls.1,v 1.14 1995/12/05 02:44:01 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
@@ -44,7 +44,7 @@
.Nm ls
.Nd list directory contents
.Sh SYNOPSIS
-.Nm ls
+.Nm
.Op Fl ACFLRSTWacdfgiklnoqrstu1
.Op Ar file ...
.Sh DESCRIPTION
@@ -52,13 +52,13 @@ For each operand that names a
.Ar file
of a type other than
directory,
-.Nm ls
+.Nm
displays its name as well as any requested,
associated information.
For each operand that names a
.Ar file
of type directory,
-.Nm ls
+.Nm
displays the names of files contained
within that directory, as well as any requested, associated
information.
@@ -195,7 +195,7 @@ options override each other; the last one specified determines
the file time used.
.Pp
By default,
-.Nm ls
+.Nm
lists one entry per line to standard
output; the exceptions are to terminals or when the
.Fl C
@@ -354,7 +354,7 @@ system immutable
.El
.Pp
The
-.Nm ls
+.Nm
utility exits 0 on success or >0 if an error occurred.
.Sh ENVIRONMENT
The following environment variables affect the execution of
@@ -375,7 +375,7 @@ decimal integer, it is used as the
column position width for displaying
multiple-text-column output.
The
-.Nm ls
+.Nm
utility calculates how
many pathname text columns to display
based on the width provided.
@@ -399,12 +399,12 @@ specification.
.Xr sticky 8
.Sh HISTORY
An
-.Nm ls
+.Nm
utility appeared in
.At v6 .
.Sh STANDARDS
The
-.Nm ls
+.Nm
utility is expected to be a superset of the
.St -p1003.2
specification.
diff --git a/bin/mkdir/mkdir.1 b/bin/mkdir/mkdir.1
index 731425a24b4..2a9af6ce1ce 100644
--- a/bin/mkdir/mkdir.1
+++ b/bin/mkdir/mkdir.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mkdir.1,v 1.4 1998/11/06 00:34:08 aaron Exp $
+.\" $OpenBSD: mkdir.1,v 1.5 1998/11/28 03:20:34 aaron Exp $
.\" $NetBSD: mkdir.1,v 1.9 1995/07/25 19:37:13 jtc Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
@@ -44,12 +44,12 @@
.Nm mkdir
.Nd make directories
.Sh SYNOPSIS
-.Nm mkdir
+.Nm
.Op Fl p
.Op Fl m Ar mode
.Ar directory_name ...
.Sh DESCRIPTION
-.Nm mkdir
+.Nm
creates the directories named as operands, in the order specified,
using mode
.Li rwxrwxrwx (\&0777)
@@ -84,7 +84,7 @@ argument directory already exists.
The user must have write permission in the parent directory.
.Pp
The
-.Nm mkdir
+.Nm
utility exits 0 on success or >0 if an error occurred.
.Sh SEE ALSO
.Xr chmod 1 ,
@@ -92,7 +92,7 @@ utility exits 0 on success or >0 if an error occurred.
.Xr umask 2
.Sh STANDARDS
The
-.Nm mkdir
+.Nm
utility is expected to be
.St -p1003.2
compatible.
diff --git a/bin/mt/mt.1 b/bin/mt/mt.1
index c8abc77aaac..6d70cf51261 100644
--- a/bin/mt/mt.1
+++ b/bin/mt/mt.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mt.1,v 1.9 1998/09/23 00:13:49 aaron Exp $
+.\" $OpenBSD: mt.1,v 1.10 1998/11/28 03:20:34 aaron Exp $
.\" $NetBSD: mt.1,v 1.8 1996/05/21 10:23:55 mrg Exp $
.\"
.\" Copyright (c) 1981, 1990, 1993
@@ -42,7 +42,7 @@
.Nm eject
.Nd magnetic tape and removable media manipulating program
.Sh SYNOPSIS
-.Nm mt
+.Nm
.Op Fl f Ar tapename
.Ar command
.Op Ar count
@@ -50,10 +50,10 @@
.Op Fl f
.Ar tapename
.Sh DESCRIPTION
-.Nm mt
+.Nm
is used to give commands to a magnetic tape drive.
By default,
-.Nm mt
+.Nm
performs the requested operation once. Operations
may be performed multiple times by specifying
.Ar count .
@@ -67,7 +67,7 @@ is of the form
.Dq host:tapename
or
.Dq user@host:tapename ,
-.Nm mt
+.Nm
writes to the named tape device on the remote host using
.Xr rmt 8 .
.Pp
@@ -133,11 +133,11 @@ command specified.
If a tape name is not specified, and the environment variable
.Ev TAPE
does not exist,
-.Nm mt
+.Nm
uses the device
.Pa /dev/rst0 .
.Pp
-.Nm mt
+.Nm
returns a 0 exit status when the operation(s) were successful,
1 if the command was unrecognized, and 2 if an operation failed.
.Sh ENVIRONMENT
@@ -145,7 +145,7 @@ If the following environment variable exists, it is utilized by
.Nm mt .
.Bl -tag -width Fl
.It Ev TAPE
-.Nm mt
+.Nm
checks the
.Ev TAPE
environment variable if the
@@ -168,7 +168,7 @@ list of SCSI2 density codes
.Xr environ 7
.Sh HISTORY
The
-.Nm mt
+.Nm
utility appeared in
.Bx 4.3 .
.\" mt.1: mtio(4) missing
diff --git a/bin/mv/mv.1 b/bin/mv/mv.1
index 45067a124fb..6f6fd0d13ad 100644
--- a/bin/mv/mv.1
+++ b/bin/mv/mv.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mv.1,v 1.5 1998/11/06 00:34:08 aaron Exp $
+.\" $OpenBSD: mv.1,v 1.6 1998/11/28 03:20:34 aaron Exp $
.\" $NetBSD: mv.1,v 1.8 1995/03/21 09:06:51 cgd Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
@@ -44,15 +44,15 @@
.Nm mv
.Nd move files
.Sh SYNOPSIS
-.Nm mv
+.Nm
.Op Fl fi
.Ar source target
-.Nm mv
+.Nm
.Op Fl fi
.Ar source ... directory
.Sh DESCRIPTION
In its first form, the
-.Nm mv
+.Nm
utility renames the file named by the
.Ar source
operand to the destination path named by the
@@ -62,7 +62,7 @@ This form is assumed when the last operand does not name an already
existing directory.
.Pp
In its second form,
-.Nm mv
+.Nm
moves each file named by a
.Ar source
operand to a destination file in the existing directory named by the
@@ -79,7 +79,7 @@ Do not prompt for confirmation before overwriting the destination
path.
.It Fl i
Causes
-.Nm mv
+.Nm
to write a prompt to standard error before moving a file that would
overwrite an existing file.
If the response from the standard input begins with the character
@@ -100,7 +100,7 @@ It is an error for either the
operand or the destination path to specify a directory unless both do.
.Pp
If the destination path does not have a mode which permits writing,
-.Nm mv
+.Nm
prompts the user for confirmation as specified for the
.Fl i
option.
@@ -108,7 +108,7 @@ option.
As the
.Xr rename 2
call does not work across file systems,
-.Nm mv
+.Nm
uses
.Xr cp 1
and
@@ -122,14 +122,14 @@ rm -f destination_path && \e
.Ed
.Pp
The
-.Nm mv
+.Nm
utility exits 0 on success or >0 if an error occurred.
.Sh SEE ALSO
.Xr cp 1 ,
.Xr symlink 7
.Sh STANDARDS
The
-.Nm mv
+.Nm
utility is expected to be
.St -p1003.2
compatible.
diff --git a/bin/pax/cpio.1 b/bin/pax/cpio.1
index bbc4ab9f1c2..cb5754a2ddd 100644
--- a/bin/pax/cpio.1
+++ b/bin/pax/cpio.1
@@ -27,7 +27,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: cpio.1,v 1.5 1998/09/14 22:13:52 aaron Exp $
+.\" $OpenBSD: cpio.1,v 1.6 1998/11/28 03:20:34 aaron Exp $
.\"
.Dd February 16, 1997
.Dt CPIO 1
@@ -36,7 +36,7 @@
.Nm cpio
.Nd copy file archives in and out
.Sh SYNOPSIS
-.Nm cpio
+.Nm
.Fl o
.Op Fl aABcLvzZ
.Op Fl C Ar bytes
@@ -45,7 +45,7 @@
.Op Fl O Ar archive
.Ar "< name-list"
.Op Ar "> archive"
-.Nm cpio
+.Nm
.Fl i
.Op Fl bBcdfmrsStuvzZ6
.Op Fl C Ar bytes
@@ -55,7 +55,7 @@
.Op Fl I Ar archive
.Op Ar "pattern ..."
.Op Ar "< archive"
-.Nm cpio
+.Nm
.Fl p
.Op Fl adlLmuv
.Ar destination-directory
diff --git a/bin/pax/pax.1 b/bin/pax/pax.1
index 30933c63a4e..45153c32916 100644
--- a/bin/pax/pax.1
+++ b/bin/pax/pax.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pax.1,v 1.8 1998/11/06 00:34:09 aaron Exp $
+.\" $OpenBSD: pax.1,v 1.9 1998/11/28 03:20:34 aaron Exp $
.\" $NetBSD: pax.1,v 1.3 1995/03/21 09:07:37 cgd Exp $
.\"
.\" Copyright (c) 1992 Keith Muller.
@@ -45,7 +45,7 @@
.Nm pax
.Nd read and write file archives and copy directory hierarchies
.Sh SYNOPSIS
-.Nm pax
+.Nm
.Op Fl cdnv
.Bk -words
.Op Fl f Ar archive
@@ -71,7 +71,7 @@
.Ar ...
.Ek
.Op Ar pattern ...
-.Nm pax
+.Nm
.Fl r
.Op Fl cdiknuvDYZ
.Bk -words
@@ -107,7 +107,7 @@
.Ar ...
.Ek
.Op Ar pattern ...
-.Nm pax
+.Nm
.Fl w
.Op Fl dituvHLPX
.Bk -words
@@ -149,7 +149,7 @@
.Ar ...
.Ek
.Op Ar file ...
-.Nm pax
+.Nm
.Fl r
.Fl w
.Op Fl diklntuvDHLPXYZ
@@ -181,10 +181,10 @@
.Op Ar file ...
.Ar directory
.Sh DESCRIPTION
-.Nm pax
+.Nm
will read, write, and list the members of an archive file,
and will copy directory hierarchies.
-.Nm pax
+.Nm
operation is independent of the specific archive format,
and supports a wide variety of different archive formats.
A list of supported archive formats can be found under the description of the
@@ -196,7 +196,7 @@ The presence of the
and the
.Fl w
options specifies which of the following functional modes
-.Nm pax
+.Nm
will operate under:
.Em list , read , write ,
and
@@ -204,7 +204,7 @@ and
.Bl -tag -width 6n
.It <none>
.Em List .
-.Nm pax
+.Nm
will write to
.Dv standard output
a table of contents of the members of the archive file read from
@@ -215,7 +215,7 @@ The table of contents contains one filename per line
and is written using single line buffering.
.It Fl r
.Em Read .
-.Nm pax
+.Nm
extracts the members of the archive file read from the
.Dv standard input ,
with pathnames matching the specified
@@ -230,7 +230,7 @@ the extracted files are discussed in more detail under the
option.
.It Fl w
.Em Write .
-.Nm pax
+.Nm
writes an archive containing the
.Ar file
operands to
@@ -246,7 +246,7 @@ operand is also a directory, the entire file hierarchy rooted
at that directory will be included.
.It Fl r Fl w
.Em Copy .
-.Nm pax
+.Nm
copies the
.Ar file
operands to the destination
@@ -286,7 +286,7 @@ While processing a damaged archive during a
or
.Em list
operation,
-.Nm pax
+.Nm
will attempt to recover from media defects and will search through the archive
to locate and process the largest number of archive members possible (see the
.Fl E
@@ -299,7 +299,7 @@ If the
.Ar directory
operand does not exist, or it is not writable by the user,
or it is not of type directory,
-.Nm pax
+.Nm
will exit with a non-zero exit status.
.Pp
The
@@ -318,7 +318,7 @@ be selected.
When a
.Ar pattern
operand does not select at least one archive member,
-.Nm pax
+.Nm
will write these
.Ar pattern
operands in a diagnostic message to
@@ -331,7 +331,7 @@ operand specifies the pathname of a file to be copied or archived.
When a
.Ar file
operand does not select at least one archive member,
-.Nm pax
+.Nm
will write these
.Ar file
operand pathnames in a diagnostic message to
@@ -357,7 +357,7 @@ and
as the mode argument.
When the selected archive format supports the specification of linked
files and these files cannot be linked while the archive is being extracted,
-.Nm pax
+.Nm
will write a diagnostic message to
.Dv standard error
and exit with a non-zero exit status at the completion of operation.
@@ -381,7 +381,7 @@ If an archive format is not specified with a
option, the format currently being used in the archive will be selected.
Any attempt to append to an archive in a format different from the
format already used in the archive will cause
-.Nm pax
+.Nm
to exit immediately
with a non-zero exit status.
The blocking size used in the archive volume where writing starts
@@ -453,7 +453,7 @@ or
.Em write ) .
A single archive may span multiple files and different archive devices.
When required,
-.Nm pax
+.Nm
will prompt for the pathname of the file or device of the next volume in the
archive.
.It Fl i
@@ -463,18 +463,18 @@ For each archive member matching a
operand or each file matching a
.Ar file
operand,
-.Nm pax
+.Nm
will prompt to
.Pa /dev/tty
giving the name of the file, its file mode and its modification time.
-.Nm pax
+.Nm
will then read a line from
.Pa /dev/tty .
If this line is blank, the file or archive member is skipped.
If this line consists of a single period, the
file or archive member is processed with no modification to its name.
Otherwise, its name is replaced with the contents of the line.
-.Nm pax
+.Nm
will immediately exit with a non-zero exit status if
.Dv <EOF>
is encountered when reading a response or if
@@ -509,7 +509,7 @@ which is specific to the archive format specified by
In general,
.Ar options
take the form:
-.Cm name=value .
+.Ar name Ns No = Ns Ar value .
.It Fl p Ar string
Specify one or more file characteristic options (privileges).
The
@@ -573,7 +573,7 @@ nor the
.Cm o
specification character is specified, or the user ID and group ID are not
preserved for any reason,
-.Nm pax
+.Nm
will not set the
.Dv S_ISUID
.Em ( setuid )
@@ -582,7 +582,7 @@ and
.Em ( setgid )
bits of the file mode.
If the preservation of any of these items fails for any reason,
-.Nm pax
+.Nm
will write a diagnostic message to
.Dv standard error .
Failure to preserve these items will affect the final exit status,
@@ -640,7 +640,7 @@ File or archive member names that substitute to the empty string
are not selected and will be skipped.
.It Fl t
Reset the access times of any file or directory read or accessed by
-.Nm pax
+.Nm
to be the same as they were before being read or accessed by
.Nm pax .
.It Fl u
@@ -692,7 +692,7 @@ is not buffered, and is written only after the file has been read or written.
.It Fl x Ar format
Specify the output archive format, with the default format being
.Ar ustar .
-.Nm pax
+.Nm
currently supports the following formats:
.Bl -tag -width "sv4cpio"
.It Ar cpio
@@ -702,7 +702,7 @@ standard.
The default blocksize for this format is 5120 bytes.
Inode and device information about a file (used for detecting file hard links
by this format) which may be truncated by this format is detected by
-.Nm pax
+.Nm
and is repaired.
.It Ar bcpio
The old binary cpio format.
@@ -711,21 +711,21 @@ This format is not very portable and should not be used when other formats
are available.
Inode and device information about a file (used for detecting file hard links
by this format) which may be truncated by this format is detected by
-.Nm pax
+.Nm
and is repaired.
.It Ar sv4cpio
The System V release 4 cpio.
The default blocksize for this format is 5120 bytes.
Inode and device information about a file (used for detecting file hard links
by this format) which may be truncated by this format is detected by
-.Nm pax
+.Nm
and is repaired.
.It Ar sv4crc
The System V release 4 cpio with file crc checksums.
The default blocksize for this format is 5120 bytes.
Inode and device information about a file (used for detecting file hard links
by this format) which may be truncated by this format is detected by
-.Nm pax
+.Nm
and is repaired.
.It Ar tar
The old BSD tar format as found in BSD4.3.
@@ -751,7 +751,7 @@ The default blocksize for this format is 10240 bytes.
Pathnames stored by this format must be 250 characters or less in length.
.El
.Pp
-.Nm pax
+.Nm
will detect and report any file that it is unable to store or extract
as the result of any specific archive format restrictions.
The individual archive formats may impose additional restrictions on use.
@@ -794,20 +794,20 @@ archive to
.Ar limit .
With a positive
.Ar limit ,
-.Nm pax
+.Nm
will attempt to recover from an archive read error and will
continue processing starting with the next file stored in the archive.
A
.Ar limit
of 0 will cause
-.Nm pax
+.Nm
to stop operation after the first read error is detected on an archive volume.
A
.Ar limit
of
.Li NONE
will cause
-.Nm pax
+.Nm
to attempt to recover from read errors forever.
The default
.Ar limit
@@ -817,7 +817,7 @@ is a small positive number of retries.
Using this option with
.Li NONE
should be used with extreme caution as
-.Nm pax
+.Nm
may get stuck in an infinite loop on a very badly flawed archive.
.It Fl G Ar group
Select a file based on its
@@ -861,7 +861,7 @@ only files with a modification or inode change time of exactly that
time will be selected.
.Pp
When
-.Nm pax
+.Nm
is in the
.Em write
or
@@ -891,7 +891,7 @@ created and had their modification time reset to an older time (as what
happens when a file is extracted from an archive and the modification time
is preserved).
Time comparisons using both file times is useful when
-.Nm pax
+.Nm
is used to create a time based incremental archive (only files that were
changed during a specified time range will be archived).
.Pp
@@ -1100,7 +1100,7 @@ files with the same name found in the source file tree
.Pa home .
.Sh STANDARDS
The
-.Nm pax
+.Nm
utility is a superset of the
.St -p1003.2
standard.
@@ -1134,7 +1134,7 @@ standard.
.Sh AUTHOR
Keith Muller at the University of California, San Diego.
.Sh ERRORS
-.Nm pax
+.Nm
will exit with one of the following values:
.Bl -tag -width 2n
.It 0
@@ -1144,7 +1144,7 @@ An error occurred.
.El
.Pp
Whenever
-.Nm pax
+.Nm
cannot create a file or a link when reading an archive or cannot
find a file when writing an archive, or cannot preserve the user ID,
group ID, or file mode when the
@@ -1153,30 +1153,30 @@ option is specified, a diagnostic message is written to
.Dv standard error
and a non-zero exit status will be returned, but processing will continue.
In the case where
-.Nm pax
+.Nm
cannot create a link to a file,
-.Nm pax
+.Nm
will not create a second copy of the file.
.Pp
If the extraction of a file from an archive is prematurely terminated by
a signal or error,
-.Nm pax
+.Nm
may have only partially extracted a file the user wanted.
Additionally, the file modes of extracted files and directories
may have incorrect file bits, and the modification and access times may be
wrong.
.Pp
If the creation of an archive is prematurely terminated by a signal or error,
-.Nm pax
+.Nm
may have only partially created the archive which may violate the specific
archive format specification.
.Pp
If while doing a
.Em copy ,
-.Nm pax
+.Nm
detects a file is about to overwrite itself, the file is not copied,
a diagnostic message is written to
.Dv standard error
and when
-.Nm pax
+.Nm
completes it will exit with a non-zero exit status.
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index 03b3fc409d6..5bdf6c29b98 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ps.1,v 1.14 1998/11/06 00:34:09 aaron Exp $
+.\" $OpenBSD: ps.1,v 1.15 1998/11/28 03:20:34 aaron Exp $
.\" $NetBSD: ps.1,v 1.16 1996/03/21 01:36:28 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
@@ -38,10 +38,10 @@
.Dt PS 1
.Os BSD 4
.Sh NAME
-.Nm \&ps
+.Nm ps
.Nd process status
.Sh SYNOPSIS
-.Nm \&ps
+.Nm
.Op Fl acCehjlmrSTuvwx
.Op Fl M Ar core
.Op Fl N Ar system
@@ -50,10 +50,10 @@
.Op Fl p Ar pid
.Op Fl t Ar tty
.Op Fl W Ar swap
-.Nm ps
+.Nm
.Op Fl L
.Sh DESCRIPTION
-.Nm ps
+.Nm
displays a header line followed by lines containing information about your
processes that have controlling terminals.
This information is sorted by process
@@ -174,7 +174,7 @@ is your window size.
If the
.Fl w
option is specified more than once,
-.Nm \&ps
+.Nm
will use as many columns as necessary without regard for your window size.
.It Fl x
Display information about processes without controlling terminals.
@@ -343,7 +343,7 @@ is listed as
and a process which is blocked while trying
to exit is listed as
.Dq <exiting> .
-.Nm ps
+.Nm
makes an educated guess as to the file name and arguments given when the
process was created by examining memory or the swap area.
The method is inherently somewhat unreliable and in any event a process
@@ -529,6 +529,6 @@ default system namelist
.Xr pstat 8
.Sh BUGS
Since
-.Nm \&ps
+.Nm
cannot run faster than the system and is run as any other scheduled
process, the information it displays can never be exact.
diff --git a/bin/pwd/pwd.1 b/bin/pwd/pwd.1
index 5b345c5f9e0..fbf60ffd411 100644
--- a/bin/pwd/pwd.1
+++ b/bin/pwd/pwd.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pwd.1,v 1.4 1998/09/14 22:13:54 aaron Exp $
+.\" $OpenBSD: pwd.1,v 1.5 1998/11/28 03:20:35 aaron Exp $
.\" $NetBSD: pwd.1,v 1.10 1995/09/07 06:47:30 jtc Exp $
.\"
.\" Copyright (c) 1990, 1993
@@ -44,16 +44,16 @@
.Nm pwd
.Nd return working directory name
.Sh SYNOPSIS
-.Nm pwd
+.Nm
.Sh DESCRIPTION
-.Nm pwd
+.Nm
writes the absolute pathname of the current working directory to
the standard output.
.Pp
The pwd utility exits 0 on success or >0 if an error occurred.
.Sh STANDARDS
The
-.Nm pwd
+.Nm
utility is expected to be
.St -p1003.2
compatible.
diff --git a/bin/rcp/rcp.1 b/bin/rcp/rcp.1
index 48d38deff85..f782119b6b0 100644
--- a/bin/rcp/rcp.1
+++ b/bin/rcp/rcp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcp.1,v 1.5 1998/11/06 00:34:09 aaron Exp $
+.\" $OpenBSD: rcp.1,v 1.6 1998/11/28 03:20:35 aaron Exp $
.\" $NetBSD: rcp.1,v 1.6 1995/07/25 19:37:25 jtc Exp $
.\"
.\" Copyright (c) 1983, 1990, 1993
@@ -41,17 +41,17 @@
.Nm rcp
.Nd remote file copy
.Sh SYNOPSIS
-.Nm rcp
+.Nm
.Op Fl Kpx
.Op Fl k Ar realm
.Ar file1 file2
-.Nm rcp
+.Nm
.Op Fl Kprx
.Op Fl k Ar realm
.Ar file ...
.Ar directory
.Sh DESCRIPTION
-.Nm rcp
+.Nm
copies files between machines. Each
.Ar file
or
@@ -75,7 +75,7 @@ Available options are as follows:
Turns off all Kerberos authentication.
.It Fl k
Requests
-.Nm rcp
+.Nm
to obtain tickets
for the remote host in realm
.Ar realm
@@ -83,7 +83,7 @@ instead of the remote host's realm as determined by
.Xr krb_realmofhost 3 .
.It Fl p
Causes
-.Nm rcp
+.Nm
to attempt to preserve (duplicate) in its copies the modification
times and modes of the source files, ignoring the
.Ar umask .
@@ -95,7 +95,7 @@ modified by the
on the destination host is used.
.It Fl r
If any of the source files are directories,
-.Nm rcp
+.Nm
copies each subtree rooted at that name; in this case
the destination must be a directory.
.It Fl x
@@ -122,13 +122,13 @@ A
on a remote host may be quoted (using \e, ", or \(aa)
so that the metacharacters are interpreted remotely.
.Pp
-.Nm rcp
+.Nm
does not prompt for passwords; it performs remote execution
via
.Xr rsh 1 ,
and requires the same authorization.
.Pp
-.Nm rcp
+.Nm
handles third party copies, where neither source nor target files
are on the current machine.
.Sh SEE ALSO
@@ -138,11 +138,11 @@ are on the current machine.
.Xr rsh 1
.Sh HISTORY
The
-.Nm rcp
+.Nm
utility appeared in
.Bx 4.2 .
The version of
-.Nm rcp
+.Nm
described here
has been reimplemented with Kerberos in
.Bx 4.3 Reno .
diff --git a/bin/rm/rm.1 b/bin/rm/rm.1
index 2e93f666ad6..9ab8d065478 100644
--- a/bin/rm/rm.1
+++ b/bin/rm/rm.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rm.1,v 1.4 1998/11/06 00:34:09 aaron Exp $
+.\" $OpenBSD: rm.1,v 1.5 1998/11/28 03:20:35 aaron Exp $
.\" $NetBSD: rm.1,v 1.8 1995/07/25 19:37:30 jtc Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
@@ -44,13 +44,13 @@
.Nm rm
.Nd remove directory entries
.Sh SYNOPSIS
-.Nm rm
+.Nm
.Op Fl f | Fl i
.Op Fl dPRrW
.Ar file ...
.Sh DESCRIPTION
The
-.Nm rm
+.Nm
utility attempts to remove the non-directory type files specified on the
command line.
If the permissions of the file do not permit writing, and the standard
@@ -109,7 +109,7 @@ files covered by whiteouts.
.El
.Pp
The
-.Nm rm
+.Nm
utility removes symbolic links, not the files referenced by the links.
.Pp
It is an error to attempt to remove the files
@@ -118,14 +118,14 @@ or
.Dq .. .
.Pp
The
-.Nm rm
+.Nm
utility exits 0 if all of the named files or file hierarchies were removed,
or if the
.Fl f
option was specified and all of the existing files or file hierarchies were
removed.
If an error occurs,
-.Nm rm
+.Nm
exits with a value >0.
.Sh SEE ALSO
.Xr rmdir 1 ,
@@ -143,7 +143,7 @@ In addition, only regular files are overwritten, other types of files
are not.
.Sh COMPATIBILITY
The
-.Nm rm
+.Nm
utility differs from historical implementations in that the
.Fl f
option only masks attempts to remove non-existent files instead of
@@ -155,7 +155,7 @@ implementations prompted on the standard output,
not the standard error output.
.Sh STANDARDS
The
-.Nm rm
+.Nm
utility is expected to be
.St -p1003.2
compatible.
diff --git a/bin/rmail/rmail.8 b/bin/rmail/rmail.8
index b3cf32fa635..c00dbcb52f0 100644
--- a/bin/rmail/rmail.8
+++ b/bin/rmail/rmail.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rmail.8,v 1.5 1998/11/06 00:34:09 aaron Exp $
+.\" $OpenBSD: rmail.8,v 1.6 1998/11/28 03:20:35 aaron Exp $
.\" $NetBSD: rmail.8,v 1.8 1995/03/21 07:08:21 cgd Exp $
.\"
.\" Copyright (c) 1983, 1990 The Regents of the University of California.
@@ -41,10 +41,10 @@
.Nm rmail
.Nd handle remote mail received via uucp
.Sh SYNOPSIS
-.Nm rmail
+.Nm
.Ar user ...
.Sh DESCRIPTION
-.Nm rmail
+.Nm
interprets incoming mail received via
.Xr uucp 1 ,
collapsing
@@ -56,7 +56,7 @@ into a single line of the form
and passing the processed mail on to
.Xr sendmail 8 .
.Pp
-.Nm rmail
+.Nm
is explicitly designed for use with
.Xr uucp
and
@@ -67,10 +67,10 @@ and
.Xr sendmail 8
.Sh HISTORY
The
-.Nm rmail
+.Nm
program appeared in
.Bx 4.2 .
.Sh BUGS
-.Nm rmail
+.Nm
should not reside in
.Pa /bin .
diff --git a/bin/rmdir/rmdir.1 b/bin/rmdir/rmdir.1
index 21354323e60..e9181fc49ad 100644
--- a/bin/rmdir/rmdir.1
+++ b/bin/rmdir/rmdir.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rmdir.1,v 1.3 1998/09/14 22:13:56 aaron Exp $
+.\" $OpenBSD: rmdir.1,v 1.4 1998/11/28 03:20:35 aaron Exp $
.\" $NetBSD: rmdir.1,v 1.10 1995/07/25 19:37:35 jtc Exp $
.\"
.\" Copyright (c) 1990, 1993
@@ -44,12 +44,12 @@
.Nm rmdir
.Nd remove directories
.Sh SYNOPSIS
-.Nm rmdir
+.Nm
.Op Fl p
.Ar directory ...
.Sh DESCRIPTION
The
-.Nm rmdir
+.Nm
utility removes the directory entry specified by
each
.Ar directory
@@ -60,7 +60,7 @@ In order to remove both a parent directory and a subdirectory
of that parent, the subdirectory
must be specified first so the parent directory
is empty when
-.Nm rmdir
+.Nm
tries to remove it.
.Pp
The following option is available:
@@ -77,7 +77,7 @@ for fully non-discriminant recursive removal.)
.El
.Pp
The
-.Nm rmdir
+.Nm
utility exits with one of the following values:
.Bl -tag -width Ds
.It Li \&0
@@ -91,7 +91,7 @@ An error occurred.
.Xr rm 1
.Sh STANDARDS
The
-.Nm rmdir
+.Nm
utility is expected to be
.St -p1003.2
compatible.
diff --git a/bin/sleep/sleep.1 b/bin/sleep/sleep.1
index 674874a5fe8..253ed21a7ef 100644
--- a/bin/sleep/sleep.1
+++ b/bin/sleep/sleep.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sleep.1,v 1.5 1998/09/23 00:13:50 aaron Exp $
+.\" $OpenBSD: sleep.1,v 1.6 1998/11/28 03:20:35 aaron Exp $
.\" $NetBSD: sleep.1,v 1.9 1995/07/25 19:37:43 jtc Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
@@ -44,21 +44,21 @@
.Nm sleep
.Nd suspend execution for an interval of time
.Sh SYNOPSIS
-.Nm sleep
+.Nm
.Ar seconds
.Sh DESCRIPTION
The
-.Nm sleep
+.Nm
utility
suspends execution for a minimum of
.Ar seconds .
-.Nm sleep
+.Nm
is used to schedule the execution of other commands (see
.Sx EXAMPLES
below).
.Pp
The
-.Nm sleep
+.Nm
utility exits with one of the following values:
.Bl -tag -width flag
.It Li \&0
@@ -113,7 +113,7 @@ awk job.
.Xr sleep 3
.Sh STANDARDS
The
-.Nm sleep
+.Nm
command offers a superset of
.St -p1003.2
functionality.
diff --git a/bin/stty/stty.1 b/bin/stty/stty.1
index a93276e9bed..32fd4b383e0 100644
--- a/bin/stty/stty.1
+++ b/bin/stty/stty.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stty.1,v 1.10 1998/11/06 00:34:09 aaron Exp $
+.\" $OpenBSD: stty.1,v 1.11 1998/11/28 03:20:35 aaron Exp $
.\" $NetBSD: stty.1,v 1.10 1995/09/07 06:57:14 jtc Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
@@ -44,13 +44,13 @@
.Nm stty
.Nd set the options for a terminal device interface
.Sh SYNOPSIS
-.Nm stty
+.Nm
.Op Fl a | Fl e | Fl g
.Op Fl f Ar file
.Op operands
.Sh DESCRIPTION
The
-.Nm stty
+.Nm
utility sets or reports on terminal
characteristics for the device that is its standard input.
If no options or operands are specified, it reports the settings of a subset
@@ -89,7 +89,7 @@ block on the open.
.It Fl g
Display all the current settings for the terminal to standard output
in a form that may be used as an argument to a subsequent invocation of
-.Nm stty
+.Nm
to restore the current terminal state as per
.St -p1003.2 .
.El
@@ -613,13 +613,13 @@ is set.
.El
.Pp
The
-.Nm stty
+.Nm
utility exits 0 on success or >0 if an error occurred.
.Sh SEE ALSO
.Xr termios 4
.Sh STANDARDS
The
-.Nm stty
+.Nm
utility is expected to be
.St -p1003.2
compatible. The flags
diff --git a/bin/sync/sync.8 b/bin/sync/sync.8
index efb04601dd8..4c3d6cefe8b 100644
--- a/bin/sync/sync.8
+++ b/bin/sync/sync.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sync.8,v 1.5 1998/09/23 00:13:50 aaron Exp $
+.\" $OpenBSD: sync.8,v 1.6 1998/11/28 03:20:36 aaron Exp $
.\" $NetBSD: sync.8,v 1.6 1995/03/21 09:11:35 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -41,9 +41,9 @@
.Nm sync
.Nd force completion of pending disk writes (flush cache)
.Sh SYNOPSIS
-.Nm sync
+.Nm
.Sh DESCRIPTION
-.Nm sync
+.Nm
can be called to ensure that all disk writes have been completed before the
processor is halted in a way not suitably done by
.Xr reboot 8
@@ -59,7 +59,7 @@ such as resynchronizing the hardware clock
and flushing internal caches before performing a final
.Nm sync .
.Pp
-.Nm sync
+.Nm
utilizes the
.Xr sync 2
function call.
@@ -71,6 +71,6 @@ function call.
.Xr update 8
.Sh HISTORY
A
-.Nm sync
+.Nm
command appeared in
.At v6 .
diff --git a/bin/test/test.1 b/bin/test/test.1
index 67ece01cd95..f517759b025 100644
--- a/bin/test/test.1
+++ b/bin/test/test.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: test.1,v 1.8 1998/09/19 14:40:26 aaron Exp $
+.\" $OpenBSD: test.1,v 1.9 1998/11/28 03:20:36 aaron Exp $
.\" $NetBSD: test.1,v 1.6 1995/03/21 07:04:03 cgd Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -51,7 +51,7 @@
]
.Sh DESCRIPTION
The
-.Nm test
+.Nm
utility evaluates the
.Ar expression
and, if it evaluates
@@ -65,7 +65,7 @@ also
returns 1 (false).
.Pp
All operators and flags are separate arguments to the
-.Nm test
+.Nm
utility.
.Pp
The following primaries are used to construct
@@ -298,7 +298,7 @@ operator has higher precedence than the
operator.
.Sh GRAMMAR AMBIGUITY
The
-.Nm test
+.Nm
grammar is inherently ambiguous. In order to assure a degree of consistency,
the cases described in
.St -p1003.2
@@ -308,7 +308,7 @@ standards document. All other cases are subject to the ambiguity in the
command semantics.
.Sh RETURN VALUES
The
-.Nm test
+.Nm
utility exits with one of the following values:
.Bl -tag -width Ds
.It 0
@@ -321,7 +321,7 @@ An error occurred.
.El
.Sh STANDARDS
The
-.Nm test
+.Nm
utility implements a superset of the
.St -p1003.2
specification.