Added the EXIT STATUS section where appropriate.
This commit is contained in:
parent
63a9efe25c
commit
6cc4b6c220
@ -67,7 +67,7 @@ set.
|
||||
When generating the identifiers one at a time, the identifiers will be close
|
||||
to each other, but operating system latency and processing time will be
|
||||
reflected in the distance between two successive identifiers.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr uuidgen 2 ,
|
||||
|
@ -37,7 +37,7 @@ displays only complete word matches.
|
||||
really is an extended regular expression, please read
|
||||
.Xr grep 1
|
||||
manual page for more information about its format.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
utility exits 0 on success, and 1 if no keyword matched.
|
||||
|
@ -471,7 +471,7 @@ to find group
|
||||
.Xr rmt 8
|
||||
.Sh DIAGNOSTICS
|
||||
Many, and verbose.
|
||||
.Pp
|
||||
.Sh EXIT STATUS
|
||||
Dump exits with zero status on success.
|
||||
Startup errors are indicated with an exit code of 1;
|
||||
abnormal termination is indicated with an exit code of 3.
|
||||
|
@ -299,9 +299,9 @@ If there is insufficient space its size is increased.
|
||||
.It Pa /etc/fstab
|
||||
contains default list of file systems to check.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Pp
|
||||
.Sh DIAGNOSTICS
|
||||
The diagnostics produced by
|
||||
.Nm
|
||||
are fully enumerated and explained in Appendix A of
|
||||
|
@ -165,7 +165,7 @@ umount /mnt
|
||||
gconcat stop data
|
||||
gconcat unload
|
||||
.Ed
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
Exit status is 0 on success, and 1 if the command fails.
|
||||
.Sh SEE ALSO
|
||||
.Xr geom 4 ,
|
||||
|
@ -197,7 +197,7 @@ The next example shows how to set up a label for a UFS file system:
|
||||
tunefs -L data /dev/da4s1a
|
||||
mount /dev/ufs/data /mnt/data
|
||||
.Ed
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
Exit status is 0 on success, and 1 if the command fails.
|
||||
.Sh SEE ALSO
|
||||
.Xr geom 4 ,
|
||||
|
@ -268,7 +268,7 @@ gmirror deactivate data da1
|
||||
dd if=/dev/da1 of=/backup/data.img bs=1m
|
||||
gmirror activate data da1
|
||||
.Ed
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
Exit status is 0 on success, and 1 if the command fails.
|
||||
.Sh SEE ALSO
|
||||
.Xr geom 4 ,
|
||||
|
@ -136,7 +136,7 @@ with 50% failure probability, and how to destroy it.
|
||||
gnop create -v -f 50 da0
|
||||
gnop destroy -v da0.nop
|
||||
.Ed
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
Exit status is 0 on success, and 1 if the command fails.
|
||||
.Sh SEE ALSO
|
||||
.Xr geom 4 ,
|
||||
|
@ -217,7 +217,7 @@ Replace one data disk with a brand new one:
|
||||
graid3 remove -n 0 data
|
||||
graid3 insert -n 0 data da5
|
||||
.Ed
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
Exit status is 0 on success, and 1 if the command fails.
|
||||
.Sh SEE ALSO
|
||||
.Xr geom 4 ,
|
||||
|
@ -113,7 +113,7 @@ From now on, when USB Pen drive will be inserted, it will be automatically
|
||||
detected and connected making secret available via
|
||||
.Pa /dev/shsec/secret
|
||||
device.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
Exit status is 0 on success, and 1 if the command fails.
|
||||
.Sh SEE ALSO
|
||||
.Xr geom 4 ,
|
||||
|
@ -204,7 +204,7 @@ umount /mnt
|
||||
gstripe stop data
|
||||
gstripe unload
|
||||
.Ed
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
Exit status is 0 on success, and 1 if the command fails.
|
||||
.Sh COMPATIBILITY
|
||||
The
|
||||
|
@ -112,7 +112,7 @@ Unload a kernel module which implements the MD class:
|
||||
.Bd -literal -offset indent
|
||||
geom md unload
|
||||
.Ed
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
Exit status is 0 on success, and 1 if the command fails.
|
||||
.Sh SEE ALSO
|
||||
.Xr geom 4 ,
|
||||
|
@ -161,7 +161,7 @@ client# ggatec create -o ro server /dev/acd0
|
||||
ggate0
|
||||
client# mount_cd9660 /dev/ggate0 /cdrom
|
||||
.Ed
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
Exit status is 0 on success, or 1 if the command fails.
|
||||
To get details about the failure,
|
||||
.Nm
|
||||
|
@ -93,7 +93,7 @@ Export CD-ROM device and a file:
|
||||
# echo "client RW /image" >> /etc/gg.exports
|
||||
# ggated
|
||||
.Ed
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
Exit status is 0 on success, or 1 if the command fails.
|
||||
To get details about the failure,
|
||||
.Nm
|
||||
|
@ -139,7 +139,7 @@ umount /secret
|
||||
gbde detach ggate5
|
||||
ggatel destroy -u 5
|
||||
.Ed
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
Exit status is 0 on success, or 1 if the command fails.
|
||||
To get details about the failure,
|
||||
.Nm
|
||||
|
@ -93,11 +93,8 @@ flag is specified more than once, the old path is displayed as well.
|
||||
.It Pa /boot/kernel , /boot/modules , /modules
|
||||
The default module search path used by the kernel.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
The
|
||||
.Nm
|
||||
utility exits with a status of 0 on success
|
||||
and with a nonzero status if an error occurs.
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr kldload 2 ,
|
||||
.Xr kldload 8 ,
|
||||
|
@ -56,7 +56,7 @@ directory containing loadable modules.
|
||||
Modules must have an extension of
|
||||
.Pa .ko .
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh AUTOMATICALLY LOADING MODULES
|
||||
Some modules (ipfw, ipf, etc.) may be automatically loaded at boot
|
||||
|
@ -51,11 +51,8 @@ Display the status of only the file with this ID.
|
||||
.It Fl n Ar name
|
||||
Display the status of only the file with this name.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
The
|
||||
.Nm
|
||||
utility exits with a status of 0 on success
|
||||
and with a nonzero status if an error occurs.
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr kldstat 2 ,
|
||||
.Xr kldload 8 ,
|
||||
|
@ -61,11 +61,8 @@ Unload the file with this name.
|
||||
.It Ar name
|
||||
Unload the file with this name.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
The
|
||||
.Nm
|
||||
utility exits with a status of 0 on success
|
||||
and with a nonzero status if an error occurs.
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr kldunload 2 ,
|
||||
.Xr kldload 8 ,
|
||||
|
@ -82,7 +82,7 @@ Run a built-in time trial.
|
||||
.It Fl x
|
||||
Run a built-in test script.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm md5 , sha1
|
||||
and
|
||||
|
@ -182,7 +182,7 @@ on
|
||||
.Xr disklabel 8 ,
|
||||
.Xr fdisk 8 ,
|
||||
.Xr newfs 8
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
Exit status is 0 on success and 1 on error.
|
||||
.Sh HISTORY
|
||||
The
|
||||
|
@ -71,7 +71,7 @@ If this fails, or no
|
||||
KLD was available,
|
||||
.Nm
|
||||
exits with an error.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr nfsstat 1 ,
|
||||
|
@ -403,7 +403,7 @@ using the
|
||||
.Fl p
|
||||
option of
|
||||
.Nm .
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
utility returns 0 on success (the host is alive),
|
||||
|
@ -393,7 +393,7 @@ operation resulted in a route whose gateway uses the
|
||||
same route as the one being changed.
|
||||
The next-hop gateway should be reachable through a different route.
|
||||
.El
|
||||
.Pp
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.\".Xr esis 4 ,
|
||||
|
@ -633,7 +633,7 @@ algorithm comment
|
||||
deflate rfc2394
|
||||
.Ed
|
||||
.\"
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.\"
|
||||
.Sh EXAMPLES
|
||||
|
@ -72,7 +72,7 @@ before printing the rest of the line.
|
||||
Lines beginning with characters other than the above are treated as if they
|
||||
begin with
|
||||
.Aq space .
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh EXAMPLES
|
||||
To view a file containing the output of a
|
||||
|
@ -99,7 +99,7 @@ to
|
||||
.Pa /usr/bin .
|
||||
.Pp
|
||||
.Dl FOO=`dirname /usr/bin/trail`
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std basename dirname
|
||||
.Sh SEE ALSO
|
||||
.Xr csh 1 ,
|
||||
|
@ -95,7 +95,7 @@ or the
|
||||
.Ev mail
|
||||
variable of
|
||||
.Xr csh 1 .
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
utility exits with one of the following values:
|
||||
|
@ -105,7 +105,7 @@ foo: Unknown Protocol/Service Multiplexor
|
||||
.It Pa /etc/bluetooth/hosts
|
||||
.It Pa /etc/bluetooth/protocols
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr bluetooth 3 ,
|
||||
|
@ -75,7 +75,7 @@ Display a list of active routing entries (if any) for specified protocol.
|
||||
.Sh BUGS
|
||||
Most likely.
|
||||
Please report if found.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr ng_btsocket 4
|
||||
|
@ -114,7 +114,7 @@ master pseudo terminals
|
||||
.It Pa /dev/tty[p-sP-S][0-9a-v]
|
||||
slave pseudo terminals
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh BUGS
|
||||
Please report if found.
|
||||
|
@ -82,7 +82,7 @@ command:
|
||||
.Pp
|
||||
.Dl % brandelf file
|
||||
.Dl % brandelf -t Linux file
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
Exit status is 0 on success, and 1 if the command
|
||||
fails if a file does not exist, is too short, fails to brand properly,
|
||||
or the brand requested is not one of the known types and the
|
||||
|
@ -90,7 +90,7 @@ in a key/data pair of the second type.
|
||||
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
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr dbopen 3 ,
|
||||
|
@ -91,7 +91,7 @@ Default directory to process if the
|
||||
.Ev MANPATH
|
||||
environment variable is not set.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr makewhatis 1 ,
|
||||
|
@ -155,7 +155,7 @@ The coefficients of R(x) are considered to be a 32-bit sequence.
|
||||
.Pp
|
||||
The bit sequence is complemented and the result is the CRC.
|
||||
.Ed
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std cksum sum
|
||||
.Sh SEE ALSO
|
||||
.Xr md5 1
|
||||
|
@ -136,7 +136,7 @@ environment variables affect the execution of
|
||||
.Nm
|
||||
as described in
|
||||
.Xr environ 7 .
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr colcrt 1 ,
|
||||
|
@ -86,7 +86,7 @@ would be
|
||||
.Bd -literal
|
||||
tbl exum2.n \&| nroff \-ms \&| colcrt \- \&| more
|
||||
.Ed
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr col 1 ,
|
||||
|
@ -250,7 +250,7 @@ The backslash character
|
||||
is used for continuation.
|
||||
In this case, no characters are permitted
|
||||
after the backslash character.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
utility exits with the following values:
|
||||
|
@ -77,7 +77,7 @@ environment variables affect the execution of
|
||||
.Nm
|
||||
as described in
|
||||
.Xr environ 7 .
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr awk 1 ,
|
||||
|
@ -74,7 +74,7 @@ Useful for pretty-printing displays.
|
||||
.It Fl x
|
||||
Fill columns before filling rows.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh ENVIRONMENT
|
||||
The
|
||||
|
@ -95,7 +95,7 @@ environment variables affect the execution of
|
||||
.Nm
|
||||
as described in
|
||||
.Xr environ 7 .
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr cmp 1 ,
|
||||
|
@ -152,7 +152,7 @@ Compression is generally much better than that achieved by Huffman
|
||||
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
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std compress uncompress
|
||||
.Pp
|
||||
The
|
||||
|
@ -136,7 +136,7 @@ into one file for each section (up to 20):
|
||||
Split standard input after the first 99 lines and every 100 lines thereafter:
|
||||
.Pp
|
||||
.Dl "csplit -k - 100 '{19}'"
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr sed 1 ,
|
||||
|
@ -196,7 +196,7 @@ file.
|
||||
.It Pa tags
|
||||
default output tags file
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
utility exits with a value of 1 if an error occurred, 0 otherwise.
|
||||
|
@ -146,7 +146,7 @@ pairs:
|
||||
Show the names and login times of the currently logged in users:
|
||||
.Pp
|
||||
.Dl "who | cut -c 1-16,26-38"
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr colrm 1 ,
|
||||
|
@ -81,7 +81,7 @@ of the
|
||||
command:
|
||||
.Pp
|
||||
.Dl "elfdump -a -w output /bin/ls"
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr objdump 1 ,
|
||||
|
2
usr.bin/env/env.1
vendored
2
usr.bin/env/env.1
vendored
@ -109,7 +109,7 @@ environment variable to locate the requested
|
||||
if the name contains no
|
||||
.Ql /
|
||||
characters.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
An exit status of 126 indicates that
|
||||
.Ar utility
|
||||
|
@ -103,7 +103,7 @@ and
|
||||
.Nm unexpand
|
||||
as described in
|
||||
.Xr environ 7 .
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std expand unexpand
|
||||
.Sh STANDARDS
|
||||
The
|
||||
|
@ -209,7 +209,7 @@ argument for
|
||||
the current transfer rate statistics will be written to the
|
||||
standard error output, in the same format as the standard completion
|
||||
message.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
command returns zero on success, or one on failure.
|
||||
|
@ -169,7 +169,7 @@ 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.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr catclose 3 ,
|
||||
|
@ -145,8 +145,9 @@ Several of the
|
||||
.Xr confstr 3
|
||||
variables provide information on the necessary compiler and linker flags
|
||||
to use the standard programming environments described above.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh DIAGNOSTICS
|
||||
Use of a
|
||||
.Ar system_var
|
||||
or
|
||||
|
@ -88,7 +88,7 @@ cmd \-a \-oarg \-\- file file
|
||||
.Xr getopts 1 ,
|
||||
.Xr sh 1 ,
|
||||
.Xr getopt 3
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
utility prints an error message on the standard error output and exits with
|
||||
|
@ -59,7 +59,7 @@ header consisting of the string
|
||||
where
|
||||
.Dq XXX
|
||||
is the name of the file.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr tail 1
|
||||
|
@ -331,7 +331,7 @@ If no format strings are specified, the default display is equivalent
|
||||
to specifying the
|
||||
.Fl x
|
||||
option.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std hexdump hd
|
||||
.Sh EXAMPLES
|
||||
Display the input in perusal format:
|
||||
|
@ -245,7 +245,7 @@ environment variables affect the execution of
|
||||
.Nm
|
||||
as described in
|
||||
.Xr environ 7 .
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh COMPATIBILITY
|
||||
The traditional
|
||||
|
@ -56,7 +56,7 @@ The
|
||||
.Nm
|
||||
utility displays the groups to which you (or the optionally specified user)
|
||||
belong.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr id 1
|
||||
|
@ -125,7 +125,7 @@ options instead of the effective ID.
|
||||
.It Fl u
|
||||
Display the effective user ID as a number.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr who 1
|
||||
|
@ -54,7 +54,7 @@ is suggested for normal interactive use.
|
||||
The
|
||||
.Nm
|
||||
utility displays your effective user ID as a name.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr id 1
|
||||
|
@ -166,7 +166,7 @@ or
|
||||
is
|
||||
.Dq - ,
|
||||
the standard input is used.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh COMPATIBILITY
|
||||
For compatibility with historic versions of
|
||||
|
@ -186,8 +186,9 @@ from column 10 and ending in column 132, use
|
||||
.Pp
|
||||
and to print all lines 80 characters or longer,
|
||||
.Dl grep `jot -s \&"\&" -b \&. 80`
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh DIAGNOSTICS
|
||||
The following diagnostic messages deserve special explanation:
|
||||
.Bl -diag
|
||||
.It "illegal or unsupported format '%s'"
|
||||
|
@ -124,7 +124,7 @@ So use
|
||||
.Xr kill 1
|
||||
for this job (e.g.\& $ kill -TERM -1 or
|
||||
as root $ echo kill -TERM -1 | su -m <user>)
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
command will respond with a short usage message and exit with a status
|
||||
@ -134,7 +134,7 @@ either no matching process has been found or not all processes have
|
||||
been signalled successfully.
|
||||
Otherwise, a status of 0 will be
|
||||
returned.
|
||||
.Pp
|
||||
.Sh DIAGNOSTICS
|
||||
Diagnostic messages will only be printed if requested by
|
||||
.Fl d
|
||||
options.
|
||||
|
@ -340,7 +340,7 @@ When invoked to execute a program, the failure of
|
||||
.Nm
|
||||
to raise a hard limit is considered a fatal error.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
utility
|
||||
|
@ -79,7 +79,7 @@ The special
|
||||
specific) keyword
|
||||
.Cm list
|
||||
can be used to retrieve the human readable list of all available keywords.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh BUGS
|
||||
Since
|
||||
|
@ -91,7 +91,7 @@ will fail unless it can acquire the lock immediately.
|
||||
In no event will
|
||||
.Nm
|
||||
break a lock that is held by another process.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
If
|
||||
.Nm
|
||||
successfully acquires the lock, it returns the exit status produced by
|
||||
|
@ -101,7 +101,7 @@ Write the message to log; if not specified, and the
|
||||
flag is not
|
||||
provided, standard input is logged.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh EXAMPLES
|
||||
.Bd -literal -offset indent -compact
|
||||
|
@ -57,7 +57,7 @@ and
|
||||
.Ev USER
|
||||
environment variables
|
||||
because the environment cannot be trusted.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr who 1 ,
|
||||
|
@ -95,7 +95,7 @@ Their effect is described in
|
||||
.It Pa /usr/share/dict/words
|
||||
the dictionary
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
utility exits 0 if one or more lines were found and displayed,
|
||||
|
@ -350,7 +350,7 @@ Returns the current file's line number.
|
||||
.It Ic __file__
|
||||
Returns the current file's name.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Pp
|
||||
The
|
||||
|
@ -111,7 +111,7 @@ environment variable is not set.
|
||||
.It Pa */man/whatis
|
||||
The default output file.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr apropos 1 ,
|
||||
|
@ -76,7 +76,7 @@ Allow messages from other users to
|
||||
(assuming you are also logged in on that terminal):
|
||||
.Pp
|
||||
.Dl "mesg y </dev/ttyp1"
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
utility exits with one of the following values:
|
||||
|
@ -79,7 +79,7 @@ of the calling process.
|
||||
The
|
||||
.Nm
|
||||
utility requires write permission in the parent directory.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh STANDARDS
|
||||
The
|
||||
|
@ -153,7 +153,7 @@ but still introduces a race condition.
|
||||
Use of this
|
||||
option is not encouraged.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
utility
|
||||
|
@ -97,7 +97,7 @@ utility to the mount point provided as a first argument.
|
||||
.Xr md 4 ,
|
||||
.Xr mdconfig 8 ,
|
||||
.Xr mount_cd9660 8
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh AUTHORS
|
||||
.An Maxim Sobolev Aq sobomax@FreeBSD.org
|
||||
|
@ -57,7 +57,7 @@ specified group.
|
||||
.Pp
|
||||
Otherwise, the real, effective and supplementary group IDs are restored to
|
||||
those from the current user's password database entry.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
utility attempts to start the shell regardless of whether group IDs
|
||||
|
@ -86,7 +86,7 @@ at priority -19 assuming the priority of the
|
||||
shell is 0 and you are the super-user:
|
||||
.Pp
|
||||
.Dl "nice -n 16 nice -n -35 date"
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
If
|
||||
.Ar utility
|
||||
is invoked, the exit status of
|
||||
|
@ -232,7 +232,7 @@ environment variables affect the execution of
|
||||
.Nm
|
||||
as described in
|
||||
.Xr environ 7 .
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr jot 1 ,
|
||||
|
@ -88,7 +88,7 @@ if the name contains no
|
||||
.Ql /
|
||||
characters.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
utility exits with one of the following values:
|
||||
|
@ -132,7 +132,7 @@ for use in the
|
||||
environment variable:
|
||||
.Pp
|
||||
.Dl "find / -name bin -type d | paste -s -d : -"
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr cut 1 ,
|
||||
|
@ -103,7 +103,7 @@ other
|
||||
systems:
|
||||
.Pp
|
||||
.Dl "find . -print | xargs pathchk -p"
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr getconf 1 ,
|
||||
|
@ -366,11 +366,11 @@ If
|
||||
receives an interrupt while printing to a terminal, it
|
||||
flushes all accumulated error messages to the screen before
|
||||
terminating.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
utility exits 0 on success, and 1 if an error occurs.
|
||||
.Pp
|
||||
.Sh DIAGNOSTICS
|
||||
Error messages are written to standard error during the printing
|
||||
process (if output is redirected) or after all successful
|
||||
file printing is complete (when printing to a terminal).
|
||||
|
@ -59,7 +59,7 @@ command which is similar or identical to this utility.
|
||||
Consult the
|
||||
.Xr builtin 1
|
||||
manual page.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std printenv
|
||||
.Sh SEE ALSO
|
||||
.Xr csh 1 ,
|
||||
|
@ -295,7 +295,7 @@ character is defined in the program's locale (category
|
||||
In no case does a non-existent or small field width cause truncation of
|
||||
a field; padding takes place only if the specified field width exceeds
|
||||
the actual width.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh COMPATIBILITY
|
||||
The traditional
|
||||
|
@ -515,7 +515,7 @@ environment variables affect the execution of
|
||||
.Nm
|
||||
as described in
|
||||
.Xr environ 7 .
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr awk 1 ,
|
||||
|
@ -123,7 +123,7 @@ environment variables affect the execution of
|
||||
.Nm
|
||||
as described in
|
||||
.Xr environ 7 .
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr csplit 1 ,
|
||||
|
@ -133,7 +133,7 @@ nor the
|
||||
option are present,
|
||||
.Nm
|
||||
will fail.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr expand 1 ,
|
||||
|
@ -140,7 +140,7 @@ header consisting of the string
|
||||
where
|
||||
.Dq XXX
|
||||
is the name of the file.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr cat 1 ,
|
||||
|
@ -389,7 +389,7 @@ Finally, it will switch to the
|
||||
directory and add
|
||||
.Pa foo2
|
||||
to the output archive.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh ENVIRONMENT
|
||||
The following environment variables affect the execution of
|
||||
|
@ -76,7 +76,7 @@ utility takes the default action for all signals,
|
||||
except in the event of the
|
||||
.Fl i
|
||||
option.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh STANDARDS
|
||||
The
|
||||
|
@ -107,7 +107,7 @@ environment variable is used to locate the requested
|
||||
if the name contains no
|
||||
.Ql /
|
||||
characters.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
If
|
||||
.Ar utility
|
||||
could be timed successfully, its exit status is returned.
|
||||
|
@ -131,7 +131,7 @@ If the
|
||||
.Dq SS
|
||||
letter pair is not specified, the value defaults to 0.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr utimes 2
|
||||
|
@ -110,7 +110,7 @@ Reset the terminal (the
|
||||
.Dq rs
|
||||
sequence).
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
The exit status of
|
||||
.Nm
|
||||
is as follows:
|
||||
|
@ -305,7 +305,7 @@ Remove diacritical marks from all accented variants of the letter
|
||||
.Ql e :
|
||||
.Pp
|
||||
.Dl "tr \*q[=e=]\*q \*qe\*q"
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh COMPATIBILITY
|
||||
Previous
|
||||
|
@ -125,7 +125,7 @@ using (for example) the shell's
|
||||
.Ql >>
|
||||
redirection syntax, or
|
||||
.Xr dd 1 .
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
If the operation fails for an argument,
|
||||
.Nm
|
||||
|
@ -79,7 +79,7 @@ Unaligned access errors result in a
|
||||
being delivered to the parent and its future descendants.
|
||||
This aids in pinpointing the faulting access so it can be debugged.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
Exit status is 0 on success, and 1 if the command
|
||||
fails for any reason.
|
||||
.Sh COMPATIBILITY
|
||||
|
@ -84,7 +84,7 @@ environment variables affect the execution of
|
||||
.Nm
|
||||
as described in
|
||||
.Xr environ 7 .
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr colcrt 1 ,
|
||||
|
@ -79,7 +79,7 @@ If the
|
||||
.Fl a
|
||||
flag is specified, or multiple flags are specified, all
|
||||
output is written on a single line, separated by spaces.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh ENVIRONMENT
|
||||
An environment variable composed of the string
|
||||
|
@ -294,7 +294,7 @@ Premature
|
||||
.Tn EOF
|
||||
in comment.
|
||||
.El
|
||||
.Pp
|
||||
.Sh EXIT STATUS
|
||||
The
|
||||
.Nm
|
||||
utility exits 0 if the output is an exact copy of the input,
|
||||
|
@ -132,7 +132,7 @@ environment variables affect the execution of
|
||||
.Nm
|
||||
as described in
|
||||
.Xr environ 7 .
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh COMPATIBILITY
|
||||
The historic
|
||||
|
@ -67,7 +67,7 @@ set.
|
||||
When generating the identifiers one at a time, the identifiers will be close
|
||||
to each other, but operating system latency and processing time will be
|
||||
reflected in the distance between two successive identifiers.
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr uuidgen 2 ,
|
||||
|
@ -110,7 +110,7 @@ and
|
||||
as well as the totals for both:
|
||||
.Pp
|
||||
.Dl "wc -mlw report1 report2"
|
||||
.Sh DIAGNOSTICS
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh SEE ALSO
|
||||
.Xr iswspace 3
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user