mdoc(7) police: use the new features of the Nm macro.
This commit is contained in:
parent
aabbf63eef
commit
be8b149795
@ -42,7 +42,7 @@
|
||||
.Nm cat
|
||||
.Nd concatenate and print files
|
||||
.Sh SYNOPSIS
|
||||
.Nm cat
|
||||
.Nm
|
||||
.Op Fl benstuv
|
||||
.Op Ar
|
||||
.Sh DESCRIPTION
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Nm chmod
|
||||
.Nd change file modes
|
||||
.Sh SYNOPSIS
|
||||
.Nm chmod
|
||||
.Nm
|
||||
.Oo
|
||||
.Fl f
|
||||
.Fl R
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Nm cp
|
||||
.Nd copy files
|
||||
.Sh SYNOPSIS
|
||||
.Nm cp
|
||||
.Nm
|
||||
.Oo
|
||||
.Fl R
|
||||
.Op Fl H | Fl L | Fl P
|
||||
@ -50,7 +50,7 @@
|
||||
.Op Fl f | i
|
||||
.Op Fl pv
|
||||
.Ar source_file target_file
|
||||
.Nm cp
|
||||
.Nm
|
||||
.Oo
|
||||
.Fl R
|
||||
.Op Fl H | Fl L | Fl P
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Nm date
|
||||
.Nd display or set date and time
|
||||
.Sh SYNOPSIS
|
||||
.Nm date
|
||||
.Nm
|
||||
.Op Fl jnu
|
||||
.Op Fl d Ar dst
|
||||
.Op Fl r Ar seconds
|
||||
@ -315,7 +315,7 @@ sets the time to
|
||||
without modifying the date.
|
||||
.Sh ENVIRONMENT
|
||||
The following environment variables affect the execution of
|
||||
.Nm Ns :
|
||||
.Nm :
|
||||
.Bl -tag -width Ds
|
||||
.It Ev TZ
|
||||
The timezone to use when displaying dates.
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Nm dd
|
||||
.Nd convert and copy a file
|
||||
.Sh SYNOPSIS
|
||||
.Nm dd
|
||||
.Nm
|
||||
.Op operands ...
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
@ -251,7 +251,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 Ns .
|
||||
.Nm .
|
||||
The
|
||||
.Cm notrunc
|
||||
value is not supported for tapes.
|
||||
|
@ -39,7 +39,7 @@
|
||||
.Nm df
|
||||
.Nd display free disk space
|
||||
.Sh SYNOPSIS
|
||||
.Nm df
|
||||
.Nm
|
||||
.Oo
|
||||
.Fl b | h | H | k |
|
||||
.Fl m | P
|
||||
|
@ -39,7 +39,7 @@
|
||||
.Nm domainname
|
||||
.Nd set or print name of current YP/NIS domain
|
||||
.Sh SYNOPSIS
|
||||
.Nm domainname
|
||||
.Nm
|
||||
.Op Ar ypdomain
|
||||
.Sh DESCRIPTION
|
||||
.Nm Domainname
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Nm echo
|
||||
.Nd write arguments to the standard output
|
||||
.Sh SYNOPSIS
|
||||
.Nm echo
|
||||
.Nm
|
||||
.Op Fl n
|
||||
.Op "string ..."
|
||||
.Sh DESCRIPTION
|
||||
|
@ -8,7 +8,7 @@
|
||||
.Nm red
|
||||
.Nd text editor
|
||||
.Sh SYNOPSIS
|
||||
.Nm ed
|
||||
.Nm
|
||||
.Op Fl
|
||||
.Op Fl sx
|
||||
.Op Fl p Ar string
|
||||
@ -35,7 +35,7 @@ Changes are made to this copy and not directly to
|
||||
.Ar file
|
||||
itself.
|
||||
Upon quitting
|
||||
.Nm Ns ,
|
||||
.Nm ,
|
||||
any changes not explicitly saved with a
|
||||
.Em w
|
||||
command are lost.
|
||||
@ -605,7 +605,7 @@ Unless a prompt was specified by with command-line option
|
||||
the command prompt is by default turned off.
|
||||
.It q
|
||||
Quit
|
||||
.Nm Ns .
|
||||
.Nm .
|
||||
.It Q
|
||||
Quit
|
||||
.Nm
|
||||
|
@ -37,7 +37,7 @@
|
||||
.Nm expr
|
||||
.Nd evaluate expression
|
||||
.Sh SYNOPSIS
|
||||
.Nm expr
|
||||
.Nm
|
||||
.Ar expression
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
|
@ -39,7 +39,7 @@
|
||||
.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
|
||||
|
@ -42,18 +42,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
|
||||
\&...
|
||||
|
@ -43,11 +43,11 @@
|
||||
.Nm link
|
||||
.Nd make links
|
||||
.Sh SYNOPSIS
|
||||
.Nm ln
|
||||
.Nm
|
||||
.Op Fl fisv
|
||||
.Ar source_file
|
||||
.Op target_file
|
||||
.Nm ln
|
||||
.Nm
|
||||
.Op Fl fisv
|
||||
.Ar source_file ...
|
||||
.Op target_dir
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Nm ls
|
||||
.Nd list directory contents
|
||||
.Sh SYNOPSIS
|
||||
.Nm ls
|
||||
.Nm
|
||||
.Op Fl ABCFGHLPRTWabcdfgiklnoqrstu1
|
||||
.Op Ar file ...
|
||||
.Sh DESCRIPTION
|
||||
@ -364,7 +364,7 @@ The
|
||||
utility exits 0 on success, and >0 if an error occurs.
|
||||
.Sh ENVIRONMENT
|
||||
The following environment variables affect the execution of
|
||||
.Nm Ns :
|
||||
.Nm :
|
||||
.Bl -tag -width BLOCKSIZE
|
||||
.It Ev BLOCKSIZE
|
||||
If the environment variable
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Nm mkdir
|
||||
.Nd make directories
|
||||
.Sh SYNOPSIS
|
||||
.Nm mkdir
|
||||
.Nm
|
||||
.Op Fl pv
|
||||
.Op Fl m Ar mode
|
||||
.Ar directory_name ...
|
||||
|
@ -42,11 +42,11 @@
|
||||
.Nm mv
|
||||
.Nd move files
|
||||
.Sh SYNOPSIS
|
||||
.Nm mv
|
||||
.Nm
|
||||
.Op Fl f | Fl i
|
||||
.Op Fl v
|
||||
.Ar source target
|
||||
.Nm mv
|
||||
.Nm
|
||||
.Op Fl f | Fl i
|
||||
.Op Fl v
|
||||
.Ar source ... directory
|
||||
|
@ -43,7 +43,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
|
||||
@ -69,7 +69,7 @@
|
||||
.Ar ...
|
||||
.Ek
|
||||
.Op Ar pattern ...
|
||||
.Nm pax
|
||||
.Nm
|
||||
.Fl r
|
||||
.Op Fl cdiknuvDYZ
|
||||
.Bk -words
|
||||
@ -105,7 +105,7 @@
|
||||
.Ar ...
|
||||
.Ek
|
||||
.Op Ar pattern ...
|
||||
.Nm pax
|
||||
.Nm
|
||||
.Fl w
|
||||
.Op Fl dituvHLPX
|
||||
.Bk -words
|
||||
@ -147,7 +147,7 @@
|
||||
.Ar ...
|
||||
.Ek
|
||||
.Op Ar file ...
|
||||
.Nm pax
|
||||
.Nm
|
||||
.Fl r
|
||||
.Fl w
|
||||
.Op Fl diklntuvDHLPXYZ
|
||||
@ -640,7 +640,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 Ns .
|
||||
.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.
|
||||
|
@ -39,7 +39,7 @@
|
||||
.Nm ps
|
||||
.Nd process status
|
||||
.Sh SYNOPSIS
|
||||
.Nm ps
|
||||
.Nm
|
||||
.Op Fl aCcefhjlmrSTuvwx
|
||||
.Op Fl M Ar core
|
||||
.Op Fl N Ar system
|
||||
@ -51,7 +51,7 @@
|
||||
.Op , Ns Ar username Ns No ...
|
||||
.Oc
|
||||
.Op Fl W Ar swap
|
||||
.Nm ps
|
||||
.Nm
|
||||
.Op Fl L
|
||||
.Sh DESCRIPTION
|
||||
.Nm Ps
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Nm pwd
|
||||
.Nd return working directory name
|
||||
.Sh SYNOPSIS
|
||||
.Nm pwd
|
||||
.Nm
|
||||
.Sh DESCRIPTION
|
||||
.Nm Pwd
|
||||
writes the absolute pathname of the current working directory to
|
||||
|
@ -39,11 +39,11 @@
|
||||
.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 ...
|
||||
@ -93,7 +93,7 @@ the destination must be a directory.
|
||||
Turn on
|
||||
.Tn DES
|
||||
encryption for all data passed by
|
||||
.Nm Ns .
|
||||
.Nm .
|
||||
This may impact response time and
|
||||
.Tn CPU
|
||||
utilization, but provides
|
||||
@ -160,4 +160,4 @@ The destination user and hostname may have to be specified as
|
||||
when the destination machine is running the
|
||||
.Bx 4.2
|
||||
version of
|
||||
.Nm Ns .
|
||||
.Nm .
|
||||
|
@ -43,7 +43,7 @@
|
||||
.Nm unlink
|
||||
.Nd remove directory entries
|
||||
.Sh SYNOPSIS
|
||||
.Nm rm
|
||||
.Nm
|
||||
.Op Fl dfiPRrvW
|
||||
.Ar file ...
|
||||
.Nm unlink
|
||||
@ -195,7 +195,7 @@ command is almost
|
||||
compatible, except that
|
||||
.Tn POSIX
|
||||
requires
|
||||
.Nm rm
|
||||
.Nm
|
||||
to act like
|
||||
.Xr rmdir 1
|
||||
when the
|
||||
|
@ -42,7 +42,7 @@
|
||||
.Nm rmdir
|
||||
.Nd remove directories
|
||||
.Sh SYNOPSIS
|
||||
.Nm rmdir
|
||||
.Nm
|
||||
.Op Fl p
|
||||
.Ar directory ...
|
||||
.Sh DESCRIPTION
|
||||
|
@ -42,7 +42,7 @@
|
||||
.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
|
||||
|
@ -39,7 +39,7 @@
|
||||
.Nm sync
|
||||
.Nd force completion of pending disk writes (flush cache)
|
||||
.Sh SYNOPSIS
|
||||
.Nm sync
|
||||
.Nm
|
||||
.Sh DESCRIPTION
|
||||
.Nm Sync
|
||||
can be called to insure that all disk writes have been completed before the
|
||||
@ -55,7 +55,7 @@ to shut down the system,
|
||||
as they may perform additional actions
|
||||
such as resynchronizing the hardware clock
|
||||
and flushing internal caches before performing a final
|
||||
.Nm Ns .
|
||||
.Nm .
|
||||
.Pp
|
||||
.Nm Sync
|
||||
utilizes the
|
||||
|
@ -43,13 +43,13 @@
|
||||
.Nm \&[
|
||||
.Nd condition evaluation utility
|
||||
.Sh SYNOPSIS
|
||||
.Nm test
|
||||
.Nm
|
||||
.Ar expression
|
||||
.Nm \&[
|
||||
.Ar expression Cm ]
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm test
|
||||
.Nm
|
||||
utility evaluates the expression and, if it evaluates
|
||||
to true, returns a zero (true) exit status; otherwise
|
||||
it returns 1 (false).
|
||||
@ -57,7 +57,7 @@ If there is no expression, test 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 expression:
|
||||
@ -288,7 +288,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 the
|
||||
.St -p1003.2 ,
|
||||
@ -298,7 +298,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
|
||||
@ -314,7 +314,7 @@ An error occurred.
|
||||
.Xr sh 1
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm test
|
||||
.Nm
|
||||
utility implements a superset of the
|
||||
.St -p1003.2
|
||||
specification.
|
||||
|
Loading…
Reference in New Issue
Block a user