Fix .Nm usage.
This commit is contained in:
parent
8750a9d231
commit
c3872193cf
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: cat.1,v 1.12 1995/09/27 05:38:55 cgd Exp $
|
||||
.\" $NetBSD: cat.1,v 1.13 1997/10/20 08:50:59 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1989, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -43,13 +43,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
|
||||
|
@ -97,7 +97,7 @@ Non-ascii characters (with the high bit set) are printed as
|
|||
.El
|
||||
.Pp
|
||||
The
|
||||
.Nm cat
|
||||
.Nm
|
||||
utility exits 0 on success, and >0 if an error occurs.
|
||||
.Sh BUGS
|
||||
Because of the shell language mechanism used to perform output
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: chmod.1,v 1.10 1997/10/06 13:41:30 enami Exp $
|
||||
.\" $NetBSD: chmod.1,v 1.11 1997/10/20 08:51:10 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1989, 1990, 1993, 1994
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -43,7 +43,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 ...
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm chmod
|
||||
.Nm
|
||||
utility modifies the file mode bits of the listed files
|
||||
as specified by the
|
||||
.Ar mode
|
||||
|
@ -90,7 +90,7 @@ is not given, unless the
|
|||
or
|
||||
.Fl L
|
||||
option is set,
|
||||
.Nm chmod
|
||||
.Nm
|
||||
on a symbolic link always succeeds and has no effect.
|
||||
The
|
||||
.Fl H ,
|
||||
|
@ -107,7 +107,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, and >0 if an error occurs.
|
||||
.Sh MODES
|
||||
Modes may be absolute or symbolic.
|
||||
|
@ -293,7 +293,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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: date.1,v 1.16 1997/05/11 08:34:37 mikel Exp $
|
||||
.\" $NetBSD: date.1,v 1.17 1997/10/20 08:51:19 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -43,13 +43,13 @@
|
|||
.Nm date
|
||||
.Nd display or set date and time
|
||||
.Sh SYNOPSIS
|
||||
.Nm date
|
||||
.Nm
|
||||
.Op Fl r Ar seconds
|
||||
.Op Fl nu
|
||||
.Op Cm + Ns Ar format
|
||||
.Op [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.
|
||||
|
@ -64,12 +64,12 @@ is used to synchronize the clocks on groups of machines.
|
|||
By default, if
|
||||
timed
|
||||
is running,
|
||||
.Nm date
|
||||
.Nm
|
||||
will set the time on all of the machines in the local group.
|
||||
The
|
||||
.Fl n
|
||||
option stops
|
||||
.Nm date
|
||||
.Nm
|
||||
from setting the time for other than the current machine.
|
||||
.It Fl r
|
||||
Print out the date and time in
|
||||
|
@ -149,7 +149,7 @@ sets the time to
|
|||
without modifying the date.
|
||||
.Sh ENVIRONMENT VARIABLES
|
||||
The following environment variables affect the execution of
|
||||
.Nm date :
|
||||
.Nm "" :
|
||||
.Bl -tag -width TZ
|
||||
.It Ev TZ
|
||||
The timezone to use when displaying dates.
|
||||
|
@ -183,20 +183,20 @@ Occasionally, when
|
|||
synchronizes the time on many hosts, the setting of a new time value may
|
||||
require more than a few seconds.
|
||||
On these occasions,
|
||||
.Nm date
|
||||
.Nm
|
||||
prints:
|
||||
.Ql Network time being set .
|
||||
The message
|
||||
.Ql Communication error with timed
|
||||
occurs when the communication
|
||||
between
|
||||
.Nm date
|
||||
.Nm
|
||||
and
|
||||
timed
|
||||
fails.
|
||||
.\" .Sh BUGS
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm date
|
||||
.Nm
|
||||
utility is expected to be compatible with
|
||||
.St -p1003.2 .
|
||||
|
|
20
bin/dd/dd.1
20
bin/dd/dd.1
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: dd.1,v 1.5 1995/03/21 09:04:04 cgd Exp $
|
||||
.\" $NetBSD: dd.1,v 1.6 1997/10/20 08:51:24 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -43,7 +43,7 @@
|
|||
.Nm dd
|
||||
.Nd convert and copy a file
|
||||
.Sh SYNOPSIS
|
||||
.Nm dd
|
||||
.Nm
|
||||
.Op operands ...
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
|
@ -53,7 +53,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
|
||||
|
@ -238,7 +238,7 @@ will be positioned past the block in which the error occurred using
|
|||
Do not truncate the output file.
|
||||
This will preserve any blocks in the output file not explicitly written
|
||||
by
|
||||
.Nm dd .
|
||||
.Nm "" .
|
||||
The
|
||||
.Cm notrunc
|
||||
value is not supported for tapes.
|
||||
|
@ -281,7 +281,7 @@ in an integer, respectively.
|
|||
Two or more numbers may be separated by an ``x'' 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.
|
||||
|
@ -304,7 +304,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 ``status'' argument for
|
||||
|
@ -313,17 +313,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 and >0 if an error occurred.
|
||||
.Sh SEE ALSO
|
||||
.Xr cp 1 ,
|
||||
|
@ -331,7 +331,7 @@ utility exits 0 on success and >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.
|
||||
|
|
10
bin/df/df.1
10
bin/df/df.1
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: df.1,v 1.13 1996/12/11 03:48:42 thorpej Exp $
|
||||
.\" $NetBSD: df.1,v 1.14 1997/10/20 08:51:31 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1989, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -40,12 +40,12 @@
|
|||
.Nm df
|
||||
.Nd display free disk space
|
||||
.Sh SYNOPSIS
|
||||
.Nm df
|
||||
.Nm
|
||||
.Op Fl ikln
|
||||
.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
|
||||
|
@ -81,7 +81,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 t Ar type
|
||||
|
@ -117,6 +117,6 @@ size block.
|
|||
.Xr quot 8
|
||||
.Sh HISTORY
|
||||
A
|
||||
.Nm df
|
||||
.Nm
|
||||
utility appeared in
|
||||
.At v6 .
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: domainname.1,v 1.8 1997/06/23 20:35:59 pk Exp $
|
||||
.\" $NetBSD: domainname.1,v 1.9 1997/10/20 08:51:41 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1988, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -40,10 +40,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
|
||||
|
@ -56,12 +56,12 @@ time.
|
|||
.Xr setdomainname 3
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm domainname
|
||||
.Nm
|
||||
utility is derived from the
|
||||
.Nm hostname
|
||||
utility , which appeared in
|
||||
.Bx 4.2 .
|
||||
The
|
||||
.Nm domainname
|
||||
.Nm
|
||||
utility appeared in
|
||||
.Nx 0.8 .
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: echo.1,v 1.7 1995/03/21 09:04:26 cgd Exp $
|
||||
.\" $NetBSD: echo.1,v 1.8 1997/10/20 08:51:49 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -43,12 +43,12 @@
|
|||
.Nm echo
|
||||
.Nd write arguments to the standard output
|
||||
.Sh SYNOPSIS
|
||||
.Nm echo
|
||||
.Nm
|
||||
.Op Fl n
|
||||
.Op "string ..."
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm echo
|
||||
.Nm
|
||||
utility writes any specified operands, separated by single blank (`` '')
|
||||
characters and followed by a newline (``\en'') character, to the standard
|
||||
output.
|
||||
|
@ -60,13 +60,13 @@ Do not print the trailing newline character.
|
|||
.El
|
||||
.Pp
|
||||
The
|
||||
.Nm echo
|
||||
.Nm
|
||||
utility exits 0 on success, and >0 if an error occurs.
|
||||
.Sh SEE ALSO
|
||||
.Xr printf 1
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm echo
|
||||
.Nm
|
||||
utility is expected to be
|
||||
.St -p1003.2
|
||||
compatible.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: expr.1,v 1.9 1995/04/28 23:27:13 jtc Exp $
|
||||
.\" $NetBSD: expr.1,v 1.10 1997/10/20 08:51:56 enami Exp $
|
||||
.\"
|
||||
.\" Written by J.T. Conklin <jtc@netbsd.org>.
|
||||
.\" Public domain.
|
||||
|
@ -10,17 +10,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
|
||||
|
@ -88,7 +88,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:
|
||||
.Bl -tag -width Ds -compact
|
||||
.It 0
|
||||
|
@ -100,6 +100,6 @@ the expression is invalid.
|
|||
.El
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm expr
|
||||
.Nm
|
||||
utility conforms to
|
||||
.St -p1003.2 .
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: hostname.1,v 1.12 1997/06/23 20:37:42 pk Exp $
|
||||
.\" $NetBSD: hostname.1,v 1.13 1997/10/20 08:52:03 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1988, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -40,11 +40,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
|
||||
|
@ -64,6 +64,6 @@ name.
|
|||
.Xr sethostname 3
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm hostname
|
||||
.Nm
|
||||
utility appeared in
|
||||
.Bx 4.2 .
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: kill.1,v 1.9 1996/12/26 02:29:58 mikel Exp $
|
||||
.\" $NetBSD: kill.1,v 1.10 1997/10/20 08:52:10 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -43,18 +43,18 @@
|
|||
.Nm kill
|
||||
.Nd terminate or signal a process
|
||||
.Sh SYNOPSIS
|
||||
.Nm kill
|
||||
.Nm
|
||||
.Op Fl s Ar signal_name
|
||||
.Ar pid
|
||||
\&...
|
||||
.Nm kill
|
||||
.Nm ""
|
||||
.Fl l
|
||||
.Op Ar exit_status
|
||||
.Nm kill
|
||||
.Nm ""
|
||||
.Fl signal_name
|
||||
.Ar pid
|
||||
\&...
|
||||
.Nm kill
|
||||
.Nm ""
|
||||
.Fl signal_number
|
||||
.Ar pid
|
||||
\&...
|
||||
|
@ -110,12 +110,12 @@ ALRM (alarm clock)
|
|||
TERM (software termination signal)
|
||||
.El
|
||||
.Pp
|
||||
.Nm Kill
|
||||
.Nm
|
||||
is a built-in to
|
||||
.Xr csh 1 ;
|
||||
it allows job specifiers of the form ``%...'' as arguments
|
||||
so process id's are not as often used as
|
||||
.Nm kill
|
||||
.Nm
|
||||
arguments.
|
||||
See
|
||||
.Xr csh 1
|
||||
|
@ -127,13 +127,13 @@ for details.
|
|||
.Xr sigaction 2
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm kill
|
||||
.Nm
|
||||
function is expected to be
|
||||
.St -p1003.2
|
||||
compatible.
|
||||
.Sh HISTORY
|
||||
A
|
||||
.Nm kill
|
||||
.Nm
|
||||
command appeared in
|
||||
.At v6 .
|
||||
.Sh BUGS
|
||||
|
|
16
bin/ln/ln.1
16
bin/ln/ln.1
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: ln.1,v 1.12 1997/05/16 14:44:01 mycroft Exp $
|
||||
.\" $NetBSD: ln.1,v 1.13 1997/10/20 08:52:19 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -43,17 +43,17 @@
|
|||
.Nm ln
|
||||
.Nd make links
|
||||
.Sh SYNOPSIS
|
||||
.Nm ln
|
||||
.Nm
|
||||
.Op Fl fhns
|
||||
.Ar source_file
|
||||
.Op target_file
|
||||
.Nm ln
|
||||
.Nm ""
|
||||
.Op Fl fhns
|
||||
.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
|
||||
|
@ -90,7 +90,7 @@ Create a symbolic link.
|
|||
.El
|
||||
.Pp
|
||||
By default
|
||||
.Nm ln
|
||||
.Nm
|
||||
makes
|
||||
.Em hard
|
||||
links.
|
||||
|
@ -114,7 +114,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
|
||||
|
@ -128,7 +128,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.
|
||||
|
@ -142,6 +142,6 @@ The links made will have the same name as the files being linked to.
|
|||
.Xr symlink 7
|
||||
.Sh HISTORY
|
||||
A
|
||||
.Nm ln
|
||||
.Nm
|
||||
utility appeared in
|
||||
.At v6 .
|
||||
|
|
20
bin/ls/ls.1
20
bin/ls/ls.1
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: ls.1,v 1.15 1997/09/09 07:31:13 jtc Exp $
|
||||
.\" $NetBSD: ls.1,v 1.16 1997/10/20 08:52:26 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -43,7 +43,7 @@
|
|||
.Nm ls
|
||||
.Nd list directory contents
|
||||
.Sh SYNOPSIS
|
||||
.Nm ls
|
||||
.Nm
|
||||
.Op Fl ACFLRSTWacdfikloqrstu1
|
||||
.Op Ar file ...
|
||||
.Sh DESCRIPTION
|
||||
|
@ -51,13 +51,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.
|
||||
|
@ -167,7 +167,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
|
||||
|
@ -292,11 +292,11 @@ or
|
|||
.El
|
||||
.Pp
|
||||
The
|
||||
.Nm ls
|
||||
.Nm
|
||||
utility exits 0 on success, and >0 if an error occurs.
|
||||
.Sh ENVIRONMENT VARIABLES
|
||||
The following environment variables affect the execution of
|
||||
.Nm ls :
|
||||
.Nm "" :
|
||||
.Bl -tag -width BLOCKSIZE
|
||||
.It Ev BLOCKSIZE
|
||||
If the environment variable
|
||||
|
@ -313,7 +313,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.
|
||||
|
@ -336,12 +336,12 @@ specification.
|
|||
.Xr sticky 8
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm ls
|
||||
.Nm
|
||||
utility is expected to be a superset of the
|
||||
.St -p1003.2
|
||||
specification.
|
||||
.Sh HISTORY
|
||||
An
|
||||
.Nm ls
|
||||
.Nm
|
||||
utility appeared in
|
||||
.At v6 .
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: mkdir.1,v 1.9 1995/07/25 19:37:13 jtc Exp $
|
||||
.\" $NetBSD: mkdir.1,v 1.10 1997/10/20 08:52:35 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1989, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -43,12 +43,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)
|
||||
|
@ -83,7 +83,7 @@ argument directory already exists.
|
|||
.Pp
|
||||
The user must have write permission in the parent directory.
|
||||
.Pp
|
||||
.Nm Mkdir
|
||||
.Nm
|
||||
exits 0 if successful, and >0 if an error occurred.
|
||||
.Sh SEE ALSO
|
||||
.Xr chmod 1 ,
|
||||
|
@ -91,7 +91,7 @@ exits 0 if successful, and >0 if an error occurred.
|
|||
.Xr umask 2
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm mkdir
|
||||
.Nm
|
||||
utility is expected to be
|
||||
.St -p1003.2
|
||||
compatible.
|
||||
|
|
20
bin/mt/mt.1
20
bin/mt/mt.1
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: mt.1,v 1.13 1997/10/04 12:32:31 hannken Exp $
|
||||
.\" $NetBSD: mt.1,v 1.14 1997/10/20 08:52:42 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1981, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -40,15 +40,15 @@
|
|||
.Nm mt
|
||||
.Nd magnetic tape manipulating program
|
||||
.Sh SYNOPSIS
|
||||
.Nm mt
|
||||
.Nm
|
||||
.Op Fl f Ar tapename
|
||||
.Ar command
|
||||
.Op Ar count
|
||||
.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 .
|
||||
|
@ -62,7 +62,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
|
||||
|
@ -147,19 +147,19 @@ drives support this feature).
|
|||
If a tape name is not specified, and the environment variable
|
||||
.Ev TAPE
|
||||
is not set, then
|
||||
.Nm mt
|
||||
.Nm
|
||||
uses the device
|
||||
.Pa /dev/nrst0 .
|
||||
.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
|
||||
If the following environment variable exists, it is utilized by
|
||||
.Nm mt .
|
||||
.Nm "" .
|
||||
.Bl -tag -width Fl
|
||||
.It Ev TAPE
|
||||
.Nm Mt
|
||||
.Nm
|
||||
checks the
|
||||
.Ev TAPE
|
||||
environment variable if the
|
||||
|
@ -182,7 +182,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
|
||||
|
|
22
bin/mv/mv.1
22
bin/mv/mv.1
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: mv.1,v 1.9 1997/08/27 17:27:13 kleink Exp $
|
||||
.\" $NetBSD: mv.1,v 1.10 1997/10/20 08:52:51 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1989, 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -43,16 +43,16 @@
|
|||
.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
|
||||
.Pp
|
||||
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 ``y'',
|
||||
|
@ -90,7 +90,7 @@ The last of any
|
|||
or
|
||||
.Fl i
|
||||
options is the one which affects
|
||||
.Nm mv Ns 's
|
||||
.Nm Ns 's
|
||||
behavior.
|
||||
.Pp
|
||||
It is an error for either the
|
||||
|
@ -98,7 +98,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.
|
||||
|
@ -106,7 +106,7 @@ option.
|
|||
As the
|
||||
.Xr rename 2
|
||||
call does not work across file systems,
|
||||
.Nm mv
|
||||
.Nm
|
||||
uses
|
||||
.Xr cp 1
|
||||
and
|
||||
|
@ -120,14 +120,14 @@ rm -f destination_path && \e
|
|||
.Ed
|
||||
.Pp
|
||||
The
|
||||
.Nm mv
|
||||
.Nm
|
||||
utility exits 0 on success, and >0 if an error occurs.
|
||||
.Sh SEE ALSO
|
||||
.Xr cp 1 ,
|
||||
.Xr symlink 7
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm mv
|
||||
.Nm
|
||||
utility is expected to be
|
||||
.St -p1003.2
|
||||
compatible.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: pax.1,v 1.5 1997/09/14 14:54:35 lukem Exp $
|
||||
.\" $NetBSD: pax.1,v 1.6 1997/10/20 08:52:58 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1992 Keith Muller.
|
||||
.\" Copyright (c) 1992, 1993
|
||||
|
@ -70,7 +70,7 @@
|
|||
.Ar ...
|
||||
.Ek
|
||||
.Op Ar pattern ...
|
||||
.Nm pax
|
||||
.Nm ""
|
||||
.Fl r
|
||||
.Op Fl cdiknuvDYZ
|
||||
.Bk -words
|
||||
|
@ -106,7 +106,7 @@
|
|||
.Ar ...
|
||||
.Ek
|
||||
.Op Ar pattern ...
|
||||
.Nm pax
|
||||
.Nm ""
|
||||
.Fl w
|
||||
.Op Fl dituvHLPX
|
||||
.Bk -words
|
||||
|
@ -148,7 +148,7 @@
|
|||
.Ar ...
|
||||
.Ek
|
||||
.Op Ar file ...
|
||||
.Nm pax
|
||||
.Nm ""
|
||||
.Fl r
|
||||
.Fl w
|
||||
.Op Fl diklntuvDHLPXYZ
|
||||
|
@ -639,7 +639,7 @@ are not selected and will be skipped.
|
|||
Reset the access times of any file or directory read or accessed by
|
||||
.Nm
|
||||
to be the same as they were before being read or accessed by
|
||||
.Nm pax .
|
||||
.Nm "" .
|
||||
.It Fl u
|
||||
Ignore files that are older (having a less recent file modification time)
|
||||
than a pre-existing file or archive member with the same name.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: rcmd.1,v 1.4 1997/06/09 09:15:49 mrg Exp $
|
||||
.\" $NetBSD: rcmd.1,v 1.5 1997/10/20 08:53:05 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1997 Matthew R. Green.
|
||||
.\" Copyright (c) 1983, 1990 The Regents of the University of California.
|
||||
|
@ -43,7 +43,7 @@
|
|||
.Nd backend driver for
|
||||
.Xr rcmd 3 .
|
||||
.Sh SYNOPSIS
|
||||
.Nm rcmd
|
||||
.Nm
|
||||
.Op Fl Kdnx
|
||||
.Op Fl k Ar realm
|
||||
.Op Fl l Ar username
|
||||
|
@ -57,7 +57,7 @@ executes
|
|||
on
|
||||
.Ar host .
|
||||
.Pp
|
||||
.Nm Rcmd
|
||||
.Nm
|
||||
copies its standard input to the remote command, the standard
|
||||
output of the remote command to its standard output, and the
|
||||
standard error of the remote command to its standard error.
|
||||
|
|
16
bin/rm/rm.1
16
bin/rm/rm.1
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: rm.1,v 1.8 1995/07/25 19:37:30 jtc Exp $
|
||||
.\" $NetBSD: rm.1,v 1.9 1997/10/20 08:53:14 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1990, 1993, 1994
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -43,13 +43,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
|
||||
|
@ -108,20 +108,20 @@ 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 ``.'' and ``..''.
|
||||
.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 ,
|
||||
|
@ -139,7 +139,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
|
||||
|
@ -151,7 +151,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.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: rmdir.1,v 1.10 1995/07/25 19:37:35 jtc Exp $
|
||||
.\" $NetBSD: rmdir.1,v 1.11 1997/10/20 08:53:22 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1990, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -43,7 +43,7 @@
|
|||
.Nm rmdir
|
||||
.Nd remove directories
|
||||
.Sh SYNOPSIS
|
||||
.Nm rmdir
|
||||
.Nm
|
||||
.Op Fl p
|
||||
.Ar directory ...
|
||||
.Sh DESCRIPTION
|
||||
|
@ -57,7 +57,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:
|
||||
|
@ -74,7 +74,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
|
||||
|
@ -88,7 +88,7 @@ An error occurred.
|
|||
.Xr rm 1
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm rmdir
|
||||
.Nm
|
||||
utility is expected to be
|
||||
.St -p1003.2
|
||||
compatible.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: stty.1,v 1.15 1997/10/20 08:08:10 scottr Exp $
|
||||
.\" $NetBSD: stty.1,v 1.16 1997/10/20 08:53:29 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1990, 1993, 1994
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -43,13 +43,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
|
||||
|
@ -85,7 +85,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
|
||||
|
@ -578,13 +578,13 @@ Same as the control character
|
|||
.El
|
||||
.Pp
|
||||
The
|
||||
.Nm stty
|
||||
.Nm
|
||||
utility exits with a value of 0 if successful, and >0 if an error occurs.
|
||||
.Sh SEE ALSO
|
||||
.Xr termios 4
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm stty
|
||||
.Nm
|
||||
utility is expected to be
|
||||
.St -p1003.2
|
||||
compatible. The flags
|
||||
|
|
Loading…
Reference in New Issue