mdoc(7) police: utilize the new .Ex macro.

This commit is contained in:
Ruslan Ermilov 2001-08-15 09:09:47 +00:00
parent b100cf6afb
commit d628d776c4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81687
62 changed files with 76 additions and 196 deletions

View file

@ -97,9 +97,7 @@ characters (with the high bit set) are printed as
(for meta) followed by the character for the low 7 bits.
.El
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success or >0 if an error occurred.
.Ex -std
.Sh EXAMPLES
The command:
.Bd -literal -offset indent

View file

@ -137,9 +137,7 @@ command's actions are determined by the last one specified.
.Pp
You can use "ls -lo" to see the flags of existing files.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr ls 1 ,
.Xr chflags 2 ,

View file

@ -103,9 +103,7 @@ command's actions are determined by the last one specified.
Only the owner of a file or the super-user is permitted to change
the mode of a file.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh MODES
Modes may be absolute or symbolic.
An absolute mode is an octal number constructed from the sum of

View file

@ -213,9 +213,7 @@ option is specified.
In addition, these options override each other and the
command's actions are determined by the last one specified.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh COMPATIBILITY
Historic versions of the
.Nm

View file

@ -347,9 +347,7 @@ in the same format as the standard completion message and
.Nm
will exit.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success or >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr cp 1 ,
.Xr mt 1 ,

View file

@ -72,9 +72,7 @@ Consult the
.Xr builtin 1
manual page.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr builtin 1 ,
.Xr csh 1 ,

View file

@ -374,9 +374,7 @@ flag to
may be used
to get the results sorted from largest to smallest (a reverse sort).
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh ENVIRONMENT
The following environment variables affect the execution of
.Nm :

View file

@ -85,9 +85,7 @@ Be verbose when creating directories, listing them as they are created.
.Pp
The user must have write permission in the parent directory.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr rmdir 1
.Sh COMPATIBILITY

View file

@ -129,9 +129,7 @@ rm -f destination_path && \e
\trm -rf source_file
.Ed
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr cp 1 ,
.Xr rm 1 ,

View file

@ -55,9 +55,7 @@ Consult the
.Xr builtin 1
manual page.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh STANDARDS
The
.Nm

View file

@ -58,9 +58,7 @@ and
in
.Ar path .
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr realpath 3
.Sh HISTORY

View file

@ -58,9 +58,7 @@ and
in
.Ar path .
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr realpath 3
.Sh HISTORY

View file

@ -193,9 +193,7 @@ ACL entries, and
.Dq Li other
ACL entry.
.Sh DIAGNOSTICS
The
.Nm
utility returns 0 on success and >0 if an error occurs.
.Ex -std
.Sh EXAMPLES
.Dl setfacl -m u::rwx,g:mail:rw file
.Pp

View file

@ -577,9 +577,7 @@ Same as the control character
.Cm reprint .
.El
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr termios 4
.Sh STANDARDS

View file

@ -168,10 +168,8 @@ If you have to kill
.Nm
just do a
.Dq Li "kill -USR1 <PID of master nfsd>"
.Pp
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh DIAGNOSTICS
.Ex -std
.Sh SEE ALSO
.Xr nfsstat 1 ,
.Xr nfssvc 2 ,

View file

@ -76,10 +76,8 @@ If this fails, or no
KLD was available,
.Nm
exits with an error.
.Pp
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh DIAGNOSTICS
.Ex -std
.Sh SEE ALSO
.Xr nfsstat 1 ,
.Xr nfssvc 2 ,

View file

@ -378,9 +378,7 @@ same route as the one being changed.
The next-hop gateway should be reachable through a different route.
.El
.Pp
The
.Nm
utility exits 0 on success or >0 if an error occurred.
.Ex -std
.Sh SEE ALSO
.\".Xr esis 4 ,
.Xr netintro 4 ,

View file

@ -270,10 +270,8 @@ The file permissions will be set to those of the file when it was entered
into the archive; this will fail if the user is not the owner of the
extracted file or the super-user.
.El
.Pp
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh DIAGNOSTICS
.Ex -std
.Sh ENVIRONMENT
.Bl -tag -width indent -compact
.It Ev TMPDIR

View file

@ -270,10 +270,8 @@ The file permissions will be set to those of the file when it was entered
into the archive; this will fail if the user is not the owner of the
extracted file or the super-user.
.El
.Pp
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh DIAGNOSTICS
.Ex -std
.Sh ENVIRONMENT
.Bl -tag -width indent -compact
.It Ev TMPDIR

View file

@ -80,11 +80,7 @@ to
.Pp
.Dl FOO=`dirname /usr/bin/trail`
.Sh DIAGNOSTICS
Both the
.Nm
and
.Nm dirname
utilities exit 0 on success, and >0 if an error occurs.
.Ex -std basename dirname
.Sh SEE ALSO
.Xr csh 1 ,
.Xr sh 1

View file

@ -90,9 +90,7 @@ The data field of this key/data pair is used to look up a key/data
pair of the first type which has the real data associated with the
name.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr dbopen 3 ,
.Xr getcap 3 ,

View file

@ -137,9 +137,7 @@ command's actions are determined by the last one specified.
.Pp
You can use "ls -lo" to see the flags of existing files.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr ls 1 ,
.Xr chflags 2 ,

View file

@ -156,11 +156,7 @@ The coefficients of R(x) are considered to be a 32-bit sequence.
The bit sequence is complemented and the result is the CRC.
.Ed
.Sh DIAGNOSTICS
The
.Nm
and
.Nm sum
utilities exit 0 on success, and >0 if an error occurs.
.Ex -std cksum sum
.Sh SEE ALSO
.Xr md5 1
.Pp

View file

@ -75,9 +75,7 @@ Useful for pretty-printing displays.
Fill columns before filling rows.
.El
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh ENVIRONMENT
.Bl -tag -width COLUMNS
.It Ev COLUMNS

View file

@ -84,9 +84,7 @@ printed in column number three will have one.
assumes that the files are lexically sorted; all characters
participate in line comparisons.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr cmp 1 ,
.Xr diff 1 ,

View file

@ -153,9 +153,7 @@ coding (as used in the historical command pack), or adaptive Huffman
coding (as used in the historical command compact), and takes less
time to compute.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Rs
.%A Welch, Terry A.

View file

@ -154,10 +154,8 @@ is used to continue the line onto the next line, e.g.:
.Pp
If the character following the backslash is not one of those specified,
the backslash is ignored.
.Pp
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh DIAGNOSTICS
.Ex -std
.Sh SEE ALSO
.Xr catclose 3 ,
.Xr catgets 3 ,

View file

@ -94,9 +94,7 @@ The
.Fl v Ar environment
option is not supported, but provided for compatibility purposes.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success or >0 if an error occurred.
.Ex -std
Use of a
.Ar system_var
or

View file

@ -60,10 +60,8 @@ header consisting of the string
where
.Dq XXX
is the name of the file.
.Pp
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh DIAGNOSTICS
.Ex -std
.Sh SEE ALSO
.Xr tail 1
.Sh HISTORY

View file

@ -330,9 +330,8 @@ If no format strings are specified, the default display is equivalent
to specifying the
.Fl x
option.
.Pp
.Nm
exits 0 on success and >0 if an error occurred.
.Sh DIAGNOSTICS
.Ex -std
.Sh EXAMPLES
Display the input in perusal format:
.Bd -literal -offset indent

View file

@ -57,8 +57,6 @@ The
utility displays the groups to which you (or the optionally specified user)
belong.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr id 1

View file

@ -122,9 +122,7 @@ options instead of the effective ID.
Display the effective user ID as a number.
.El
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr who 1
.Sh STANDARDS

View file

@ -55,8 +55,6 @@ The
.Nm
utility displays your effective user ID as a name.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr id 1

View file

@ -170,9 +170,7 @@ is
.Dq - ,
the standard input is used.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh COMPATIBILITY
For compatibility with historic versions of
.Nm ,

View file

@ -184,9 +184,7 @@ from column 10 and ending in column 132, use
and to print all lines 80 characters or longer,
.Dl grep `jot -s \&"\&" -b \&. 80`
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
The following diagnostic messages deserve special explanation:
.Bl -diag
.It "illegal or unsupported format '%s'"

View file

@ -100,9 +100,7 @@ flag is not
provided, standard input is logged.
.El
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh EXAMPLES
.Bd -literal -offset indent -compact
logger System rebooted

View file

@ -58,9 +58,7 @@ and
environment variables
because the environment cannot be trusted.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr who 1 ,
.Xr whoami 1 ,

View file

@ -80,9 +80,7 @@ The
.Nm
command requires write permission in the parent directory.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh STANDARDS
The
.Nm

View file

@ -221,9 +221,7 @@ The default
is 6.
.El
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr pr 1
.Sh STANDARDS

View file

@ -111,9 +111,7 @@ input is used; standard input is read one line at a time, circularly,
for each instance of
.Ql Fl .
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr cut 1
.Sh STANDARDS

View file

@ -496,9 +496,7 @@ This is the same as specifying the
option on the command line.
.El
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr awk 1 ,
.Xr ed 1 ,

View file

@ -141,9 +141,7 @@ where
.Dq XXX
is the name of the file.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr cat 1 ,
.Xr head 1 ,

View file

@ -77,9 +77,7 @@ except in the event of the
.Fl i
option.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh STANDARDS
The
.Nm

View file

@ -124,9 +124,7 @@ If the
letter pair is not specified, the value defaults to 0.
.El
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr utimes 2
.Sh COMPATIBILITY

View file

@ -229,9 +229,7 @@ has a leading zero, it is interpreted as an octal value, otherwise,
it's interpreted as a decimal value.
.El
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh EXAMPLES
The following examples are shown as given to the shell:
.Pp

View file

@ -125,10 +125,7 @@ using (for example) the shell's
redirection syntax, or
.Xr dd 1 .
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success,
and >0 if an error occurs.
.Ex -std
If the operation fails for an argument,
.Nm
will issue a diagnostic

View file

@ -82,10 +82,8 @@ If the
.Fl a
flag is specified, or multiple flags are specified, all
output is written on a single line, separated by spaces.
.Pp
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh DIAGNOSTICS
.Ex -std
.Sh SEE ALSO
.Xr sysctl 3 ,
.Xr uname 3 ,

View file

@ -115,9 +115,7 @@ If additional arguments are specified on the command line, the first
argument is used as the name of an input file, the second is used
as the name of an output file.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh COMPATIBILITY
The historic
.Cm \&\(pl Ns Ar number

View file

@ -84,9 +84,7 @@ The default action is equivalent to specifying all of the flags.
If no files are specified, the standard input is used and no
file name is displayed.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr isspace 3
.Sh COMPATIBILITY

View file

@ -117,10 +117,8 @@ allows times recorded in
.Pa modems
to be charged out at a different rate than
.Pa other .
.Pp
The
.Nm
utility exits 0 on success, and >0 if a fatal error occurs.
.Sh DIAGNOSTICS
.Ex -std
.Sh FILES
.Bl -tag -width /var/log/wtmp.[0-7] -compact
.It Pa /var/log/wtmp

View file

@ -153,7 +153,7 @@ image
.Xr boot 8 ,
.Xr fdisk 8
.Sh DIAGNOSTICS
Exit status is 0 on success and >0 on error.
.Ex -std
.Sh AUTHORS
.An Robert Nordier Aq rnordier@FreeBSD.org .
.Sh BUGS

View file

@ -92,7 +92,7 @@ Specify the sector size. The default secotor size is 512
.Xr boot 8 ,
.Xr fdisk 8
.Sh DIAGNOSTICS
Exit status is 0 on success and >0 on error.
.Ex -std
.Sh AUTHORS
.An NOKUBI Hirotaka ,
.An KATO Takenori

View file

@ -92,6 +92,6 @@ combined .text and .data segments of the client image.
.Xr ld 1 ,
.Xr boot 8
.Sh DIAGNOSTICS
Exit status is 0 on success and >0 on error.
.Ex -std
.Sh AUTHORS
.An Robert Nordier Aq rnordier@FreeBSD.org .

View file

@ -113,9 +113,7 @@ The user invoking
must belong to the specified group and be the owner of the file,
or be the super-user.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh COMPATIBILITY
In previous versions of this system, symbolic links did not have groups.
.Pp

View file

@ -123,10 +123,8 @@ group name.
.Pp
The ownership of a file may only be altered by a super-user for
obvious security reasons.
.Pp
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh DIAGNOSTICS
.Ex -std
.Sh COMPATIBILITY
Previous versions of the
.Nm

View file

@ -128,7 +128,7 @@ The default loader
.Xr boot 8 ,
.Xr loader 8
.Sh DIAGNOSTICS
Exit status is 0 on success and >0 on error.
.Ex -std
.Sh AUTHORS
.An Robert Nordier Aq rnordier@FreeBSD.org .
.Sh BUGS

View file

@ -324,9 +324,7 @@ distribution.
system specification directory
.El
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr chgrp 1 ,

View file

@ -168,10 +168,8 @@ If you have to kill
.Nm
just do a
.Dq Li "kill -USR1 <PID of master nfsd>"
.Pp
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh DIAGNOSTICS
.Ex -std
.Sh SEE ALSO
.Xr nfsstat 1 ,
.Xr nfssvc 2 ,

View file

@ -122,9 +122,7 @@ The
command displays the available
commands, their usage and aliases, and a brief description.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Ex -std
.Sh SEE ALSO
.Xr netgraph 3 ,
.Xr netgraph 4 ,

View file

@ -145,10 +145,8 @@ In this case,
will transmit router advertisement with router lifetime 0
to all the interfaces
(in accordance with RFC2461 6.2.5).
.Sh RETURN VALUES
The
.Nm
program exits 0 on success, and >0 on failures.
.Sh DIAGNOSTICS
.Ex -std
.Sh FILES
.Bl -tag -width Pa -compact
.It Pa /etc/rtadvd.conf

View file

@ -175,10 +175,8 @@ Advertisement packet has arrived on each
.Ar interface ,
then exit.
.El
.Sh RETURN VALUES
The
.Nm
program exits 0 on success, and >0 on failures.
.Sh DIAGNOSTICS
.Ex -std
.\"
.Sh FILES
.Bl -tag -width /var/run/rtsold.dump -compact

View file

@ -193,10 +193,8 @@ flag is specified, only the
and
.Fl s
flags are honored.
.Pp
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh DIAGNOSTICS
.Ex -std
.Sh FILES
.Bl -tag -width /var/account/usracct -compact
.It Pa /var/account/acct