diff options
Diffstat (limited to 'usr.bin')
77 files changed, 357 insertions, 357 deletions
diff --git a/usr.bin/ar/ar.1 b/usr.bin/ar/ar.1 index 2396ae9113d..3dcefd65114 100644 --- a/usr.bin/ar/ar.1 +++ b/usr.bin/ar/ar.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ar.1,v 1.17 2010/07/21 20:02:29 jmc Exp $ +.\" $OpenBSD: ar.1,v 1.18 2010/09/03 11:09:28 jmc Exp $ .\" $NetBSD: ar.1,v 1.7 1995/08/18 15:05:11 pk Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)ar.1 8.1 (Berkeley) 6/29/93 .\" -.Dd $Mdocdate: July 21 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt AR 1 .Os .Sh NAME @@ -296,8 +296,6 @@ 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 superuser. .El -.Pp -.Ex -std ar .Sh ENVIRONMENT .Bl -tag -width indent -compact .It Ev TMPDIR @@ -310,6 +308,8 @@ default temporary file directory .It Pa ar.XXXXXXXXXX temporary file names .El +.Sh EXIT STATUS +.Ex -std ar .Sh SEE ALSO .Xr ld 1 , .Xr ranlib 1 , diff --git a/usr.bin/asa/asa.1 b/usr.bin/asa/asa.1 index e045e31520e..07930e46329 100644 --- a/usr.bin/asa/asa.1 +++ b/usr.bin/asa/asa.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: asa.1,v 1.18 2010/05/25 06:43:56 jmc Exp $ +.\" $OpenBSD: asa.1,v 1.19 2010/09/03 11:09:28 jmc Exp $ .\" $NetBSD: asa.1,v 1.4 1995/03/26 02:25:05 glass Exp $ .\" .\" Copyright (c) 1993 Winning Strategies, Inc. @@ -29,7 +29,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. .\" -.Dd $Mdocdate: May 25 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt ASA 1 .Os .Sh NAME @@ -74,7 +74,7 @@ before printing the rest of the line. Lines beginning with characters other than the above are treated as if they begin with a space .Pq Sq \ \& . -.Pp +.Sh EXIT STATUS .Ex -std asa .Sh EXAMPLES To view a file containing the output of a diff --git a/usr.bin/at/at.1 b/usr.bin/at/at.1 index 30bce22b43e..ef9d13a04e5 100644 --- a/usr.bin/at/at.1 +++ b/usr.bin/at/at.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: at.1,v 1.41 2010/07/21 20:02:29 jmc Exp $ +.\" $OpenBSD: at.1,v 1.42 2010/09/03 11:09:28 jmc Exp $ .\" .\" Copyright (C) 1993, 1994 Thomas Koenig .\" Copyright (C) 1993 David Parsons @@ -24,7 +24,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. .\" -.Dd $Mdocdate: July 21 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt AT 1 .Os .Sh NAME @@ -297,17 +297,6 @@ An empty .Pa /var/cron/at.deny means that every user is allowed to use these commands. This is the default configuration. -.Pp -The -.Nm -utility exits with one of the following values: -.Pp -.Bl -tag -width Ds -compact -offset indent -.It 0 -Jobs were successfully submitted, removed, or listed. -.It \*(Gt0 -An error occurred. -.El .Sh FILES .Bl -tag -width /var/cron/at.allow -compact .It Pa /var/cron/atjobs @@ -317,6 +306,17 @@ allow permission control .It Pa /var/cron/at.deny deny permission control .El +.Sh EXIT STATUS +The +.Nm +utility exits with one of the following values: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It 0 +Jobs were successfully submitted, removed, or listed. +.It \*(Gt0 +An error occurred. +.El .Sh SEE ALSO .Xr atq 1 , .Xr atrm 1 , diff --git a/usr.bin/basename/basename.1 b/usr.bin/basename/basename.1 index 7113e317d3f..1016c4fec2c 100644 --- a/usr.bin/basename/basename.1 +++ b/usr.bin/basename/basename.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: basename.1,v 1.16 2009/02/08 17:15:09 jmc Exp $ +.\" $OpenBSD: basename.1,v 1.17 2010/09/03 11:09:28 jmc Exp $ .\" $NetBSD: basename.1,v 1.9 1995/03/25 18:17:45 glass Exp $ .\" .\" Copyright (c) 1990, 1993, 1994 @@ -33,7 +33,7 @@ .\" .\" @(#)basename.1 8.2 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: February 8 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt BASENAME 1 .Os .Sh NAME @@ -54,7 +54,7 @@ and a if given. The resulting filename is written to the standard output. A non-existent suffix is ignored. -.Pp +.Sh EXIT STATUS .Ex -std basename .Sh EXAMPLES The following line sets the shell variable diff --git a/usr.bin/cal/cal.1 b/usr.bin/cal/cal.1 index 350daf16309..b3a09343620 100644 --- a/usr.bin/cal/cal.1 +++ b/usr.bin/cal/cal.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cal.1,v 1.23 2010/07/22 07:38:56 jmc Exp $ +.\" $OpenBSD: cal.1,v 1.24 2010/09/03 11:09:28 jmc Exp $ .\" $NetBSD: cal.1,v 1.6 1995/09/02 05:34:20 jtc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)cal.1 8.2 (Berkeley) 4/28/95 .\" -.Dd $Mdocdate: July 22 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt CAL 1 .Os .Sh NAME @@ -103,7 +103,7 @@ By this time, most countries had recognized the reformation (although a few did not recognize it until the early 1900's). Eleven days following that date were eliminated by the reformation, so the calendar for that month is a bit unusual. -.Pp +.Sh EXIT STATUS .Ex -std cal .Sh SEE ALSO .Xr calendar 1 diff --git a/usr.bin/cap_mkdb/cap_mkdb.1 b/usr.bin/cap_mkdb/cap_mkdb.1 index 8d2d067402e..c290137bee6 100644 --- a/usr.bin/cap_mkdb/cap_mkdb.1 +++ b/usr.bin/cap_mkdb/cap_mkdb.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cap_mkdb.1,v 1.16 2009/01/04 11:19:55 sobrado Exp $ +.\" $OpenBSD: cap_mkdb.1,v 1.17 2010/09/03 11:09:28 jmc Exp $ .\" $NetBSD: cap_mkdb.1,v 1.4 1995/03/26 03:59:36 glass Exp $ .\" .\" Copyright (c) 1992, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)cap_mkdb.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: January 4 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt CAP_MKDB 1 .Os .Sh NAME @@ -99,8 +99,6 @@ 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. -.Pp -.Ex -std cap_mkdb .Sh FILES .Bl -tag -width /usr/share/misc/terminfo.db -compact .It Pa /usr/share/misc/termcap @@ -113,6 +111,8 @@ terminal information database symbolic link to .Pa /usr/share/misc/termcap .El +.Sh EXIT STATUS +.Ex -std cap_mkdb .Sh SEE ALSO .Xr dbopen 3 , .Xr getcap 3 , diff --git a/usr.bin/cmp/cmp.1 b/usr.bin/cmp/cmp.1 index 2e3f6d3e12c..c1c5f2bd14c 100644 --- a/usr.bin/cmp/cmp.1 +++ b/usr.bin/cmp/cmp.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cmp.1,v 1.14 2009/02/08 17:15:09 jmc Exp $ +.\" $OpenBSD: cmp.1,v 1.15 2010/09/03 11:09:28 jmc Exp $ .\" $NetBSD: cmp.1,v 1.4 1995/09/08 03:22:55 tls Exp $ .\" .\" Copyright (c) 1987, 1990, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)cmp.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: February 8 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt CMP 1 .Os .Sh NAME @@ -80,11 +80,11 @@ or octal value by preceding it with a leading .Dq 0x or .Dq 0 . -.Pp +.Sh EXIT STATUS The .Nm utility exits with one of the following values: -.Bl -tag -width 4n +.Bl -tag -width Ds -offset indent -compact .It 0 The files are identical. .It 1 diff --git a/usr.bin/column/column.1 b/usr.bin/column/column.1 index a4202443177..6c6c8c66d29 100644 --- a/usr.bin/column/column.1 +++ b/usr.bin/column/column.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: column.1,v 1.12 2008/03/11 16:50:05 jmc Exp $ +.\" $OpenBSD: column.1,v 1.13 2010/09/03 11:09:28 jmc Exp $ .\" $NetBSD: column.1,v 1.3 1995/03/26 09:08:28 glass Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)column.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: March 11 2008 $ +.Dd $Mdocdate: September 3 2010 $ .Dt COLUMN 1 .Os .Sh NAME @@ -72,8 +72,6 @@ Useful for pretty-printing displays. .It Fl x Fill columns before filling rows. .El -.Pp -.Ex -std column .Sh ENVIRONMENT .Bl -tag -width COLUMNS .It Ev COLUMNS @@ -82,6 +80,8 @@ The environment variable is used to determine the size of the screen if no other information is available. .El +.Sh EXIT STATUS +.Ex -std column .Sh EXAMPLES List the current working directory's contents, in detail, with nicely formatted headings for each of the fields: diff --git a/usr.bin/comm/comm.1 b/usr.bin/comm/comm.1 index d135238fffd..2e9c5727f67 100644 --- a/usr.bin/comm/comm.1 +++ b/usr.bin/comm/comm.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: comm.1,v 1.14 2009/02/08 17:15:09 jmc Exp $ +.\" $OpenBSD: comm.1,v 1.15 2010/09/03 11:09:28 jmc Exp $ .\" $NetBSD: comm.1,v 1.4 1995/03/26 09:25:50 glass Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)comm.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: February 8 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt COMM 1 .Os .Sh NAME @@ -91,7 +91,7 @@ participate in line comparisons. .\" .It Ev LC_COLLATE .\" .It Ev LC_MESSAGES .\" .El -.Pp +.Sh EXIT STATUS .Ex -std comm .Sh SEE ALSO .Xr cmp 1 , diff --git a/usr.bin/compress/compress.1 b/usr.bin/compress/compress.1 index addc8baa7a7..46e9c1404ad 100644 --- a/usr.bin/compress/compress.1 +++ b/usr.bin/compress/compress.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: compress.1,v 1.44 2010/07/22 07:38:56 jmc Exp $ +.\" $OpenBSD: compress.1,v 1.45 2010/09/03 11:09:28 jmc Exp $ .\" $NetBSD: compress.1,v 1.5 1995/03/26 09:44:34 glass Exp $ .\" .\" Copyright (c) 1986, 1990, 1993 @@ -34,7 +34,7 @@ .\" .\" @(#)compress.1 8.2 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: July 22 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt COMPRESS 1 .Os .Sh NAME @@ -307,12 +307,12 @@ 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. -.Pp +.Sh EXIT STATUS The .Nm compress utility exits with one of the following values: .Pp -.Bl -tag -width Ds -compact +.Bl -tag -width Ds -offset indent -compact .It 0 Success. .It 1 diff --git a/usr.bin/csplit/csplit.1 b/usr.bin/csplit/csplit.1 index 886da71c869..0f3d6ab60de 100644 --- a/usr.bin/csplit/csplit.1 +++ b/usr.bin/csplit/csplit.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: csplit.1,v 1.9 2010/07/21 19:47:02 jmc Exp $ +.\" $OpenBSD: csplit.1,v 1.10 2010/09/03 11:09:28 jmc Exp $ .\" .\" Copyright (c) 2002 Tim J. Robbins. .\" All rights reserved. @@ -26,7 +26,7 @@ .\" .\" $FreeBSD: src/usr.bin/csplit/csplit.1,v 1.11 2005/01/25 22:29:51 tjr Exp $ .\" -.Dd $Mdocdate: July 21 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt CSPLIT 1 .Os .Sh NAME @@ -131,7 +131,7 @@ After all the patterns have been processed, the remaining input data .Pp Requesting to split at a line before the current line number or past the end of the file will result in an error. -.Pp +.Sh EXIT STATUS .Ex -std csplit .Sh EXAMPLES Split the diff --git a/usr.bin/cut/cut.1 b/usr.bin/cut/cut.1 index 26217c70606..eb0ce1f3936 100644 --- a/usr.bin/cut/cut.1 +++ b/usr.bin/cut/cut.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cut.1,v 1.16 2010/01/23 00:32:12 schwarze Exp $ +.\" $OpenBSD: cut.1,v 1.17 2010/09/03 11:09:28 jmc Exp $ .\" $NetBSD: cut.1,v 1.6 1995/10/02 20:19:26 jtc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)cut.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: January 23 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt CUT 1 .Os .Sh NAME @@ -112,7 +112,7 @@ Do not split multi-byte characters. Suppresses lines with no field delimiter characters. Unless specified, lines with no delimiters are passed through unmodified. .El -.Pp +.Sh EXIT STATUS The .Nm utility exits 0 on success or 1 if an error occurred. diff --git a/usr.bin/cvs/cvs.1 b/usr.bin/cvs/cvs.1 index 84c7112de17..081ea9e775f 100644 --- a/usr.bin/cvs/cvs.1 +++ b/usr.bin/cvs/cvs.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cvs.1,v 1.125 2009/06/06 14:17:27 ray Exp $ +.\" $OpenBSD: cvs.1,v 1.126 2010/09/03 11:09:28 jmc Exp $ .\" .\" Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> .\" Copyright (c) 2004-2008 Xavier Santolaria <xsa@openbsd.org> @@ -24,7 +24,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 6 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt CVS 1 .Os .Sh NAME @@ -155,8 +155,6 @@ with 1 being the fastest, and 9 providing the best level of compression. The default is 6. .El -.Pp -.Ex -std cvs .Sh COMMANDS .Nm supports the following commands: @@ -1951,6 +1949,8 @@ This is traditionally a screen-oriented editor, such as .Xr vi 1 . .El +.Sh EXIT STATUS +.Ex -std cvs .Sh SEE ALSO .Xr diff 1 , .Xr gzip 1 , diff --git a/usr.bin/diff/diff.1 b/usr.bin/diff/diff.1 index 8aaaceb533a..8383fc75e96 100644 --- a/usr.bin/diff/diff.1 +++ b/usr.bin/diff/diff.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: diff.1,v 1.38 2010/08/18 16:25:20 schwarze Exp $ +.\" $OpenBSD: diff.1,v 1.39 2010/09/03 11:09:28 jmc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)diff.1 8.1 (Berkeley) 6/30/93 .\" -.Dd $Mdocdate: August 18 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt DIFF 1 .Os .Sh NAME @@ -451,12 +451,12 @@ Temporary file used when comparing a device or the standard input. Note that the temporary file is unlinked as soon as it is created so it will not show up in a directory listing. .El -.Sh DIAGNOSTICS +.Sh EXIT STATUS The .Nm utility exits with one of the following values: .Pp -.Bl -tag -width Ds -compact -offset indent +.Bl -tag -width Ds -offset indent -compact .It 0 No differences were found. .It 1 diff --git a/usr.bin/dirname/dirname.1 b/usr.bin/dirname/dirname.1 index 226ee4a4ca8..cbeda624273 100644 --- a/usr.bin/dirname/dirname.1 +++ b/usr.bin/dirname/dirname.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: dirname.1,v 1.7 2009/02/08 17:15:09 jmc Exp $ +.\" $OpenBSD: dirname.1,v 1.8 2010/09/03 11:09:28 jmc Exp $ .\" .\" Copyright (c) 1990, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)dirname.1 8.2 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: February 8 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt DIRNAME 1 .Os .Sh NAME @@ -49,7 +49,7 @@ with the last slash character to the end of .Ar pathname , and writes the result to the standard output. -.Pp +.Sh EXIT STATUS .Ex -std dirname .Sh EXAMPLES The following line sets the shell variable diff --git a/usr.bin/du/du.1 b/usr.bin/du/du.1 index 4007c63fbf6..8fa6a20c664 100644 --- a/usr.bin/du/du.1 +++ b/usr.bin/du/du.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: du.1,v 1.27 2010/07/21 20:02:29 jmc Exp $ +.\" $OpenBSD: du.1,v 1.28 2010/09/03 11:09:28 jmc Exp $ .\" $NetBSD: du.1,v 1.6 1996/10/18 07:20:31 thorpej Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)du.1 8.2 (Berkeley) 4/1/94 .\" -.Dd $Mdocdate: July 21 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt DU 1 .Os .Sh NAME @@ -121,8 +121,6 @@ Files having multiple hard links are counted (and displayed) a single time per .Nm execution. -.Pp -.Ex -std du .Sh ENVIRONMENT .Bl -tag -width BLOCKSIZE .It Ev BLOCKSIZE @@ -132,6 +130,8 @@ or .Fl h option is specified. .El +.Sh EXIT STATUS +.Ex -std du .Sh SEE ALSO .Xr df 1 , .Xr fts 3 , diff --git a/usr.bin/expand/expand.1 b/usr.bin/expand/expand.1 index 11536772c3f..4331f88c8f2 100644 --- a/usr.bin/expand/expand.1 +++ b/usr.bin/expand/expand.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: expand.1,v 1.15 2010/07/22 07:38:56 jmc Exp $ +.\" $OpenBSD: expand.1,v 1.16 2010/09/03 11:09:28 jmc Exp $ .\" $NetBSD: expand.1,v 1.3 1995/09/02 06:19:45 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)expand.1 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: July 22 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt EXPAND 1 .Os .Sh NAME @@ -110,7 +110,7 @@ flag, by prefixing with a dash .Pq - . .El -.Pp +.Sh EXIT STATUS .Ex -std expand .Sh SEE ALSO .Xr fold 1 diff --git a/usr.bin/file/file.1 b/usr.bin/file/file.1 index 8d2b8cd4cf4..4fb1b23053f 100644 --- a/usr.bin/file/file.1 +++ b/usr.bin/file/file.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: file.1,v 1.31 2010/01/02 20:15:15 schwarze Exp $ +.\" $OpenBSD: file.1,v 1.32 2010/09/03 11:09:28 jmc Exp $ .\" $FreeBSD: src/usr.bin/file/file.1,v 1.16 2000/03/01 12:19:39 sheldonh Exp $ .\" .\" Copyright (c) Ian F. Darwin 1986-1995. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: January 2 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt FILE 1 .Os .Sh NAME @@ -329,8 +329,6 @@ Print the version of the program and exit. .It Fl z , -uncompress Try to look inside compressed files. .El -.Pp -.Ex -std file .Sh ENVIRONMENT The environment variable .Dv MAGIC @@ -361,6 +359,8 @@ options. .It Pa /etc/magic default list of magic numbers .El +.Sh EXIT STATUS +.Ex -std file .Sh SEE ALSO .Xr hexdump 1 , .Xr od 1 , diff --git a/usr.bin/fold/fold.1 b/usr.bin/fold/fold.1 index be2043f70f3..fca160116f1 100644 --- a/usr.bin/fold/fold.1 +++ b/usr.bin/fold/fold.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fold.1,v 1.14 2009/08/16 09:41:08 sobrado Exp $ +.\" $OpenBSD: fold.1,v 1.15 2010/09/03 11:09:28 jmc Exp $ .\" $NetBSD: fold.1,v 1.5 1995/09/01 01:42:42 jtc Exp $ .\" .\" Copyright (c) 1980, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)fold.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: August 16 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt FOLD 1 .Os .Sh NAME @@ -60,7 +60,7 @@ column positions (or bytes). .It Fl w Ar width Specifies a line width to use instead of the default 80 characters. .El -.Pp +.Sh EXIT STATUS .Ex -std fold .Sh SEE ALSO .Xr expand 1 diff --git a/usr.bin/fstat/fuser.1 b/usr.bin/fstat/fuser.1 index 5a4c8eae455..e80f658364e 100644 --- a/usr.bin/fstat/fuser.1 +++ b/usr.bin/fstat/fuser.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fuser.1,v 1.3 2010/02/14 22:56:12 jmc Exp $ +.\" $OpenBSD: fuser.1,v 1.4 2010/09/03 11:09:28 jmc Exp $ .\" .\" Copyright (c) 2002 Peter Werner <peterw@ifost.org.au> .\" All rights reserved. @@ -23,7 +23,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: February 14 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt FUSER 1 .Os .Sh NAME @@ -103,7 +103,7 @@ The file is the process's root directory. .It t The file is the process's executable text. .El -.Pp +.Sh EXIT STATUS .Ex -std fuser .Sh EXAMPLES Print the process IDs of any processes holding files open under the diff --git a/usr.bin/gencat/gencat.1 b/usr.bin/gencat/gencat.1 index 63eda50c21b..a7583a2c24a 100644 --- a/usr.bin/gencat/gencat.1 +++ b/usr.bin/gencat/gencat.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gencat.1,v 1.16 2010/01/02 20:15:15 schwarze Exp $ +.\" $OpenBSD: gencat.1,v 1.17 2010/09/03 11:09:28 jmc Exp $ .\" .\" Copyright (c) 1997 Ken Stailey .\" @@ -24,9 +24,9 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: gencat.1,v 1.16 2010/01/02 20:15:15 schwarze Exp $ +.\" $Id: gencat.1,v 1.17 2010/09/03 11:09:28 jmc Exp $ .\" -.Dd $Mdocdate: January 2 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt GENCAT 1 .Os .Sh NAME @@ -171,7 +171,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. -.Pp +.Sh EXIT STATUS .Ex -std gencat .Sh SEE ALSO .Xr catclose 3 , diff --git a/usr.bin/getconf/getconf.1 b/usr.bin/getconf/getconf.1 index 914b78115f2..ac6185b349f 100644 --- a/usr.bin/getconf/getconf.1 +++ b/usr.bin/getconf/getconf.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getconf.1,v 1.10 2009/02/08 17:15:10 jmc Exp $ +.\" $OpenBSD: getconf.1,v 1.11 2010/09/03 11:09:28 jmc Exp $ .\" $NetBSD: getconf.1,v 1.2 1996/04/20 01:15:12 jtc Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -33,7 +33,7 @@ .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" -.Dd $Mdocdate: February 8 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt GETCONF 1 .Os .Sh NAME @@ -56,7 +56,7 @@ The .Ar pathname argument must be supplied for system variables associated with a pathname. -.Pp +.Sh EXIT STATUS .Ex -std getconf .Sh SEE ALSO .Xr pathconf 2 , diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1 index fd60bc01b75..7ba98185257 100644 --- a/usr.bin/grep/grep.1 +++ b/usr.bin/grep/grep.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: grep.1,v 1.38 2010/04/05 06:30:59 jmc Exp $ +.\" $OpenBSD: grep.1,v 1.39 2010/09/03 11:09:28 jmc Exp $ .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -28,7 +28,7 @@ .\" .\" @(#)grep.1 8.3 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: April 5 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt GREP 1 .Os .Sh NAME @@ -283,7 +283,7 @@ By default, output is line buffered when standard output is a terminal and block buffered otherwise. .Pp .El -.Pp +.Sh EXIT STATUS The .Nm grep utility exits with one of the following values: diff --git a/usr.bin/gzsig/gzsig.1 b/usr.bin/gzsig/gzsig.1 index 7164c321ea5..01ac8e30995 100644 --- a/usr.bin/gzsig/gzsig.1 +++ b/usr.bin/gzsig/gzsig.1 @@ -1,5 +1,5 @@ -.\" $OpenBSD: gzsig.1,v 1.11 2010/01/02 19:48:56 schwarze Exp $ -.\" $Id: gzsig.1,v 1.11 2010/01/02 19:48:56 schwarze Exp $ +.\" $OpenBSD: gzsig.1,v 1.12 2010/09/03 11:09:29 jmc Exp $ +.\" $Id: gzsig.1,v 1.12 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 2001 Dug Song <dugsong@arbor.net> .\" Copyright (c) 2001 Arbor Networks, Inc. @@ -28,7 +28,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 2 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt GZSIG 1 .Os .Sh NAME @@ -79,7 +79,7 @@ Sign the input using the private key in Verify the signature using the public key in .Ar pubkey . .El -.Pp +.Sh EXIT STATUS .Ex -std gzsig .Sh EXAMPLES Sign diff --git a/usr.bin/head/head.1 b/usr.bin/head/head.1 index c5797729c20..2ce8fa8c47b 100644 --- a/usr.bin/head/head.1 +++ b/usr.bin/head/head.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: head.1,v 1.16 2010/07/22 07:38:56 jmc Exp $ +.\" $OpenBSD: head.1,v 1.17 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1980, 1990 The Regents of the University of California. .\" All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)head.1 6.6 (Berkeley) 7/24/91 .\" -.Dd $Mdocdate: July 22 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt HEAD 1 .Os .Sh NAME @@ -75,7 +75,7 @@ precedes the output of each file with the following, in order to distinguish the head of each file: .Pp .Dl ==> Ar file No <== -.Pp +.Sh EXIT STATUS .Ex -std head .Sh EXAMPLES To display the first 500 lines of the file diff --git a/usr.bin/hexdump/hexdump.1 b/usr.bin/hexdump/hexdump.1 index d63315fcf55..81242ff162e 100644 --- a/usr.bin/hexdump/hexdump.1 +++ b/usr.bin/hexdump/hexdump.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hexdump.1,v 1.20 2010/02/25 16:58:56 naddy Exp $ +.\" $OpenBSD: hexdump.1,v 1.21 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: hexdump.1,v 1.14 2001/12/07 14:46:24 bjh21 Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" from: @(#)hexdump.1 8.2 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: February 25 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt HEXDUMP 1 .Os .Sh NAME @@ -343,7 +343,7 @@ If no format strings are specified, the default display is equivalent to specifying the .Fl x option. -.Pp +.Sh EXIT STATUS .Ex -std hexdump .Sh EXAMPLES Display the input in perusal format: diff --git a/usr.bin/hexdump/od.1 b/usr.bin/hexdump/od.1 index 2ff536ee2df..8495d62184c 100644 --- a/usr.bin/hexdump/od.1 +++ b/usr.bin/hexdump/od.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: od.1,v 1.22 2010/03/23 08:43:03 fgsch Exp $ +.\" $OpenBSD: od.1,v 1.23 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: od.1,v 1.16 2001/12/07 01:23:42 bjh21 Exp $ .\" .\" Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\"/ -.Dd $Mdocdate: March 23 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt OD 1 .Os .Sh NAME @@ -308,7 +308,7 @@ If no options are specified, the default display is equivalent to specifying the .Fl o option. -.Pp +.Sh EXIT STATUS .Ex -std od .Sh SEE ALSO .Xr hexdump 1 , diff --git a/usr.bin/id/groups.1 b/usr.bin/id/groups.1 index 952e8c1e516..bd2ffea7432 100644 --- a/usr.bin/id/groups.1 +++ b/usr.bin/id/groups.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: groups.1,v 1.11 2009/01/04 11:19:55 sobrado Exp $ +.\" $OpenBSD: groups.1,v 1.12 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)groups.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: January 4 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt GROUPS 1 .Os .Sh NAME @@ -53,7 +53,7 @@ The .Nm utility displays the groups to which you (or the optionally specified user) belong. -.Pp +.Sh EXIT STATUS .Ex -std groups .Sh SEE ALSO .Xr id 1 diff --git a/usr.bin/id/id.1 b/usr.bin/id/id.1 index 74a8cf04f06..ba4b1bcdda3 100644 --- a/usr.bin/id/id.1 +++ b/usr.bin/id/id.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: id.1,v 1.16 2009/02/08 17:15:10 jmc Exp $ +.\" $OpenBSD: id.1,v 1.17 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: id.1,v 1.5 1995/09/28 08:05:40 perry Exp $ .\" .\" Copyright (c) 1991, 1993, 1994 @@ -33,7 +33,7 @@ .\" .\" @(#)id.1 8.2 (Berkeley) 5/5/94 .\" -.Dd $Mdocdate: February 8 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt ID 1 .Os .Sh NAME @@ -114,7 +114,7 @@ options instead of the effective ID. .It Fl u Display the effective user ID as a number. .El -.Pp +.Sh EXIT STATUS .Ex -std id .Sh SEE ALSO .Xr who 1 diff --git a/usr.bin/id/whoami.1 b/usr.bin/id/whoami.1 index a5748390dee..9e4b7ed683e 100644 --- a/usr.bin/id/whoami.1 +++ b/usr.bin/id/whoami.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: whoami.1,v 1.12 2009/01/04 11:19:55 sobrado Exp $ +.\" $OpenBSD: whoami.1,v 1.13 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)whoami.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: January 4 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt WHOAMI 1 .Os .Sh NAME @@ -51,7 +51,7 @@ is suggested for normal interactive use. The .Nm utility displays your effective user ID as a name. -.Pp +.Sh EXIT STATUS .Ex -std whoami .Sh SEE ALSO .Xr id 1 diff --git a/usr.bin/ipcrm/ipcrm.1 b/usr.bin/ipcrm/ipcrm.1 index 86ee4363e4b..df44f53ec7d 100644 --- a/usr.bin/ipcrm/ipcrm.1 +++ b/usr.bin/ipcrm/ipcrm.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ipcrm.1,v 1.14 2010/07/22 07:38:56 jmc Exp $ +.\" $OpenBSD: ipcrm.1,v 1.15 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1994 Adam Glass .\" All rights reserved. @@ -24,7 +24,7 @@ .\" SUCH DAMAGE. .\" .\"" -.Dd $Mdocdate: July 22 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt IPCRM 1 .Os .Sh NAME @@ -82,7 +82,7 @@ from the system. The identifiers and keys associated with these System V IPC objects can be determined by using .Xr ipcs 1 . -.Pp +.Sh EXIT STATUS .Ex -std ipcrm .Sh SEE ALSO .Xr ipcs 1 diff --git a/usr.bin/ipcs/ipcs.1 b/usr.bin/ipcs/ipcs.1 index 2e89a78a2ea..9372b8c8665 100644 --- a/usr.bin/ipcs/ipcs.1 +++ b/usr.bin/ipcs/ipcs.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ipcs.1,v 1.20 2010/07/22 07:38:56 jmc Exp $ +.\" $OpenBSD: ipcs.1,v 1.21 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1994 SigmaSoft, Th. Lockert .\" All rights reserved. @@ -23,7 +23,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. .\" -.Dd $Mdocdate: July 22 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt IPCS 1 .Os .Sh NAME @@ -120,14 +120,14 @@ or .Fl s options are specified, information about all active IPC facilities is listed. -.Pp -.Ex -std ipcs .Sh RESTRICTIONS System data structures may change while .Nm is running; the output of .Nm is not guaranteed to be consistent. +.Sh EXIT STATUS +.Ex -std ipcs .Sh SEE ALSO .Xr ipcrm 1 .Sh STANDARDS diff --git a/usr.bin/join/join.1 b/usr.bin/join/join.1 index 12cb77314c6..c05cbd6b9c9 100644 --- a/usr.bin/join/join.1 +++ b/usr.bin/join/join.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: join.1,v 1.21 2009/02/08 17:15:10 jmc Exp $ +.\" $OpenBSD: join.1,v 1.22 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)join.1 8.3 (Berkeley) 4/28/95 .\" -.Dd $Mdocdate: February 8 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt JOIN 1 .Os .Sh NAME @@ -163,7 +163,7 @@ and .Fl v Ar 2 may be specified at the same time. .El -.Pp +.Sh EXIT STATUS .Ex -std join .Sh SEE ALSO .Xr awk 1 , diff --git a/usr.bin/logger/logger.1 b/usr.bin/logger/logger.1 index 898c9cd042d..321adf825bd 100644 --- a/usr.bin/logger/logger.1 +++ b/usr.bin/logger/logger.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: logger.1,v 1.18 2010/09/03 10:31:29 jmc Exp $ +.\" $OpenBSD: logger.1,v 1.19 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: logger.1,v 1.4 1994/12/22 06:26:59 jtc Exp $ .\" .\" Copyright (c) 1983, 1990, 1993 @@ -83,7 +83,7 @@ Write the message to log; if not specified, and the flag is not provided, standard input is logged. .El -.Pp +.Sh EXIT STATUS .Ex -std logger .Sh EXAMPLES .Bd -literal -offset indent diff --git a/usr.bin/logname/logname.1 b/usr.bin/logname/logname.1 index 2e2a55d61d4..822eb7d7d7c 100644 --- a/usr.bin/logname/logname.1 +++ b/usr.bin/logname/logname.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: logname.1,v 1.13 2009/02/08 17:15:10 jmc Exp $ +.\" $OpenBSD: logname.1,v 1.14 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: logname.1,v 1.5 1995/07/25 18:31:12 jtc Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)logname.1 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: February 8 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt LOGNAME 1 .Os .Sh NAME @@ -56,7 +56,7 @@ and .Ev USER environment variables because the environment cannot be trusted. -.Pp +.Sh EXIT STATUS .Ex -std logname .Sh SEE ALSO .Xr who 1 , diff --git a/usr.bin/look/look.1 b/usr.bin/look/look.1 index 9cd1827ddfa..620330e89b4 100644 --- a/usr.bin/look/look.1 +++ b/usr.bin/look/look.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: look.1,v 1.11 2007/05/31 19:20:12 jmc Exp $ +.\" $OpenBSD: look.1,v 1.12 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: look.1,v 1.3 1994/12/23 01:10:59 jtc Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)look.1 8.1 (Berkeley) 6/14/93 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 3 2010 $ .Dt LOOK 1 .Os .Sh NAME @@ -79,16 +79,16 @@ up to and including the first occurrence of .Ar termchar are compared. .El -.Pp -The -.Nm -utility exits 0 if one or more lines were found and displayed, -1 if no lines were found, or >1 if an error occurred. .Sh FILES .Bl -tag -width /usr/share/dict/words -compact .It Pa /usr/share/dict/words the dictionary .El +.Sh EXIT STATUS +The +.Nm +utility exits 0 if one or more lines were found and displayed, +1 if no lines were found, or \*(Gt1 if an error occurred. .Sh SEE ALSO .Xr grep 1 , .Xr sort 1 diff --git a/usr.bin/man/man.1 b/usr.bin/man/man.1 index 857823b2ab5..5e404619c21 100644 --- a/usr.bin/man/man.1 +++ b/usr.bin/man/man.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: man.1,v 1.44 2010/07/22 07:38:56 jmc Exp $ +.\" $OpenBSD: man.1,v 1.45 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)man.1 8.2 (Berkeley) 1/2/94 .\" -.Dd $Mdocdate: July 22 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt MAN 1 .Os .Sh NAME @@ -260,8 +260,6 @@ man pages can be found in .Xr mdoc 7 . A full tutorial for writing man pages is provided in .Xr mdoc.samples 7 . -.Pp -.Ex -std man .Sh ENVIRONMENT .Bl -tag -width MANPATHX .It Ev MACHINE @@ -311,6 +309,8 @@ is not defined. .It Pa /etc/man.conf default man configuration file .El +.Sh EXIT STATUS +.Ex -std man .Sh SEE ALSO .Xr apropos 1 , .Xr intro 1 , diff --git a/usr.bin/mesg/mesg.1 b/usr.bin/mesg/mesg.1 index fee3cd320be..a1e1faff770 100644 --- a/usr.bin/mesg/mesg.1 +++ b/usr.bin/mesg/mesg.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mesg.1,v 1.16 2010/07/22 07:40:14 jmc Exp $ +.\" $OpenBSD: mesg.1,v 1.17 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: mesg.1,v 1.3 1994/12/23 07:16:31 jtc Exp $ .\" .\" Copyright (c) 1987, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)mesg.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: July 22 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt MESG 1 .Os .Sh NAME @@ -62,12 +62,16 @@ Permits messages to be displayed. If no arguments are given, .Nm mesg displays the present message status to the standard error output. -.Pp +.Sh FILES +.Bl -tag -width /dev/[pt]ty[pq]? -compact +.It Pa /dev/[pt]ty[pq]? +.El +.Sh EXIT STATUS The .Nm mesg utility exits with one of the following values: .Pp -.Bl -tag -width Ds -compact -offset indent +.Bl -tag -width Ds -offset indent -compact .It 0 Messages are allowed. .It 1 @@ -75,10 +79,6 @@ Messages are not allowed. .It \*(Gt1 An error has occurred. .El -.Sh FILES -.Bl -tag -width /dev/[pt]ty[pq]? -compact -.It Pa /dev/[pt]ty[pq]? -.El .Sh SEE ALSO .Xr biff 1 , .Xr talk 1 , diff --git a/usr.bin/modstat/modstat.8 b/usr.bin/modstat/modstat.8 index d5c89e01ea2..041f7f28fd6 100644 --- a/usr.bin/modstat/modstat.8 +++ b/usr.bin/modstat/modstat.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: modstat.8,v 1.12 2007/05/31 19:20:13 jmc Exp $ +.\" $OpenBSD: modstat.8,v 1.13 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1993 Christopher G. Demetriou .\" All rights reserved. @@ -26,7 +26,7 @@ .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 3 2010 $ .Dt MODSTAT 8 .Os .Sh NAME @@ -49,7 +49,7 @@ Display the status of only the module with this ID. .It Fl n Ar name Display the status of only the module with this name. .El -.Pp +.Sh EXIT STATUS The .Nm utility exits with a status of 0 on success diff --git a/usr.bin/paste/paste.1 b/usr.bin/paste/paste.1 index 1e708d4afec..fbf64ae94f0 100644 --- a/usr.bin/paste/paste.1 +++ b/usr.bin/paste/paste.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: paste.1,v 1.13 2009/02/08 17:15:10 jmc Exp $ +.\" $OpenBSD: paste.1,v 1.14 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1989, 1990 The Regents of the University of California. .\" All rights reserved. @@ -33,7 +33,7 @@ .\" .\" from: @(#)paste.1 5.6 (Berkeley) 7/27/91 .\" -.Dd $Mdocdate: February 8 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt PASTE 1 .Os .Sh NAME @@ -107,7 +107,7 @@ is specified for one or more of the input files, the standard input is used; standard input is read one line at a time, circularly, for each instance of .Dq - . -.Pp +.Sh EXIT STATUS .Ex -std paste .Sh EXAMPLES List the files in the current directory in three columns: diff --git a/usr.bin/patch/patch.1 b/usr.bin/patch/patch.1 index 611d8981632..1861725775e 100644 --- a/usr.bin/patch/patch.1 +++ b/usr.bin/patch/patch.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: patch.1,v 1.25 2009/02/08 17:33:01 jmc Exp $ +.\" $OpenBSD: patch.1,v 1.26 2010/09/03 11:09:29 jmc Exp $ .\" Copyright 1986, Larry Wall .\" .\" Redistribution and use in source and binary forms, with or without @@ -19,7 +19,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: February 8 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt PATCH 1 .Os .Sh NAME @@ -603,33 +603,33 @@ used to read input when .Nm prompts the user .El -.Sh DIAGNOSTICS -Too many to list here, but generally indicative that -.Nm -couldn't parse your patch file. -.Pp -The message -.Qq Hmm... -indicates that there is unprocessed text in the patch file and that -.Nm -is attempting to intuit whether there is a patch in that text and, if so, -what kind of patch it is. -.Pp +.Sh EXIT STATUS The .Nm utility exits with one of the following values: .Pp -.Bl -tag -width Ds -compact -offset indent -.It \&0 +.Bl -tag -width Ds -offset indent -compact +.It 0 Successful completion. -.It \&1 +.It 1 One or more lines were written to a reject file. -.It \*[Gt]\&1 +.It \*(Gt1 An error occurred. .El .Pp When applying a set of patches in a loop it behooves you to check this exit status so you don't apply a later patch to a partially patched file. +.Sh DIAGNOSTICS +Too many to list here, but generally indicative that +.Nm +couldn't parse your patch file. +.Pp +The message +.Qq Hmm... +indicates that there is unprocessed text in the patch file and that +.Nm +is attempting to intuit whether there is a patch in that text and, if so, +what kind of patch it is. .Sh SEE ALSO .Xr diff 1 .Sh STANDARDS diff --git a/usr.bin/pkg-config/pkg-config.1 b/usr.bin/pkg-config/pkg-config.1 index d555ecc710c..e674e81e0ec 100644 --- a/usr.bin/pkg-config/pkg-config.1 +++ b/usr.bin/pkg-config/pkg-config.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pkg-config.1,v 1.13 2007/05/31 19:20:14 jmc Exp $ +.\" $OpenBSD: pkg-config.1,v 1.14 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 3 2010 $ .Dt PKG-CONFIG 1 .Os .Sh NAME @@ -119,8 +119,6 @@ Print version of .Nm and exit. .El -.Pp -.Ex -std pkg-config .Sh ENVIRONMENT .Bl -tag -width PKG_CONFIG_PATH .It Ev PKG_CONFIG_PATH @@ -128,6 +126,8 @@ This can be used to specify a colon-separated list of paths to search for package files. If given, this list of paths is prepended to the standard search path. .El +.Sh EXIT STATUS +.Ex -std pkg-config .Sh SEE ALSO .Xr pkg_info 1 , .Xr ports 7 diff --git a/usr.bin/pr/pr.1 b/usr.bin/pr/pr.1 index d23fbdc3c7e..4e8896e4640 100644 --- a/usr.bin/pr/pr.1 +++ b/usr.bin/pr/pr.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pr.1,v 1.20 2009/08/16 09:41:08 sobrado Exp $ +.\" $OpenBSD: pr.1,v 1.21 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1991 Keith Muller. .\" Copyright (c) 1993 @@ -33,7 +33,7 @@ .\" .\" from: @(#)pr.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: August 16 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt PR 1 .Os .Sh NAME @@ -352,13 +352,7 @@ and .Fl n require that both arguments, if present, not be separated from the option letter. -.Sh ERRORS -If -.Nm pr -receives an interrupt while printing to a terminal, it -flushes all accumulated error messages to the screen before -terminating. -.Pp +.Sh EXIT STATUS The .Nm pr utility exits 0 on success, and 1 if an error occurs. @@ -366,6 +360,12 @@ utility exits 0 on success, and 1 if an error occurs. 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). +.Sh ERRORS +If +.Nm pr +receives an interrupt while printing to a terminal, it +flushes all accumulated error messages to the screen before +terminating. .Sh NOTES The interpretation of .Em <form-feed> Ns s diff --git a/usr.bin/printf/printf.1 b/usr.bin/printf/printf.1 index e6bb3165c25..ed00c3e0ac6 100644 --- a/usr.bin/printf/printf.1 +++ b/usr.bin/printf/printf.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: printf.1,v 1.23 2010/03/26 19:30:40 jmc Exp $ +.\" $OpenBSD: printf.1,v 1.24 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1989, 1990 The Regents of the University of California. .\" All rights reserved. @@ -32,7 +32,7 @@ .\" .\" from: @(#)printf.1 5.11 (Berkeley) 7/24/91 .\" -.Dd $Mdocdate: March 26 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt PRINTF 1 .Os .Sh NAME @@ -348,7 +348,7 @@ no argument is used. 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. -.Pp +.Sh EXIT STATUS The .Nm utility exits 0 on success or 1 on failure. diff --git a/usr.bin/rcs/ci.1 b/usr.bin/rcs/ci.1 index a7d46a40757..47b6869b6d1 100644 --- a/usr.bin/rcs/ci.1 +++ b/usr.bin/rcs/ci.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ci.1,v 1.35 2007/08/26 21:35:43 sobrado Exp $ +.\" $OpenBSD: ci.1,v 1.36 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org> .\" All rights reserved. @@ -14,7 +14,7 @@ .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.Dd $Mdocdate: August 26 2007 $ +.Dd $Mdocdate: September 3 2010 $ .Dt CI 1 .Os .Sh NAME @@ -179,8 +179,6 @@ used in the .Fl d option. .El -.Pp -.Ex -std ci .Sh ENVIRONMENT .Bl -tag -width RCSINIT .It Ev RCSINIT @@ -192,6 +190,8 @@ are to be created. The default is set to .Pa /tmp . .El +.Sh EXIT STATUS +.Ex -std ci .Sh SEE ALSO .Xr co 1 , .Xr ident 1 , diff --git a/usr.bin/rcs/co.1 b/usr.bin/rcs/co.1 index b19f14e0e9e..177287d6160 100644 --- a/usr.bin/rcs/co.1 +++ b/usr.bin/rcs/co.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: co.1,v 1.28 2007/05/31 19:20:14 jmc Exp $ +.\" $OpenBSD: co.1,v 1.29 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org> .\" All rights reserved. @@ -14,7 +14,7 @@ .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 3 2010 $ .Dt CO 1 .Os .Sh NAME @@ -133,14 +133,14 @@ used in the .Fl d option. .El -.Pp -.Ex -std co .Sh ENVIRONMENT .Bl -tag -width RCSINIT .It Ev RCSINIT If set, this variable should contain a list of space-delimited options that are prepended to the argument list. .El +.Sh EXIT STATUS +.Ex -std co .Sh EXAMPLES Retrieve the latest revision of file .Pa foo.c diff --git a/usr.bin/rcs/ident.1 b/usr.bin/rcs/ident.1 index b275fc70e99..a599f37c903 100644 --- a/usr.bin/rcs/ident.1 +++ b/usr.bin/rcs/ident.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ident.1,v 1.9 2009/10/15 10:08:43 sobrado Exp $ +.\" $OpenBSD: ident.1,v 1.10 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org> .\" All rights reserved. @@ -14,7 +14,7 @@ .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.Dd $Mdocdate: October 15 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt IDENT 1 .Os .Sh NAME @@ -43,7 +43,7 @@ Quiet mode: suppress warnings if no pattern found. .It Fl V Display version information and exit. .El -.Pp +.Sh EXIT STATUS .Ex -std ident .Sh EXAMPLES Given the following source code in file diff --git a/usr.bin/rcs/rcs.1 b/usr.bin/rcs/rcs.1 index 6fdbcc92b7c..5ff11ae48fa 100644 --- a/usr.bin/rcs/rcs.1 +++ b/usr.bin/rcs/rcs.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rcs.1,v 1.54 2007/05/31 21:56:03 jmc Exp $ +.\" $OpenBSD: rcs.1,v 1.55 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org> .\" Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org> @@ -24,7 +24,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 3 2010 $ .Dt RCS 1 .Os .Sh NAME @@ -180,8 +180,6 @@ Suffixes should be separated by the .Sq / character. .El -.Pp -.Ex -std rcs .Sh BRANCHES AND REVISIONS Files may be selected by .Em revision @@ -372,6 +370,8 @@ command to freeze the values before releasing software. If set, this variable should contain a list of space-delimited options that are prepended to the argument list. .El +.Sh EXIT STATUS +.Ex -std rcs .Sh EXAMPLES One of the most common uses of .Nm diff --git a/usr.bin/rcs/rcsclean.1 b/usr.bin/rcs/rcsclean.1 index ab8a290ae91..3f962c80c1a 100644 --- a/usr.bin/rcs/rcsclean.1 +++ b/usr.bin/rcs/rcsclean.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rcsclean.1,v 1.21 2007/05/31 19:20:15 jmc Exp $ +.\" $OpenBSD: rcsclean.1,v 1.22 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 2005 Joris Vink <joris@openbsd.org> .\" All rights reserved. @@ -14,7 +14,7 @@ .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 3 2010 $ .Dt RCSCLEAN 1 .Os .Sh NAME @@ -87,14 +87,14 @@ character. .It Fl z Ns Ar tz Specify the time zone for keyword substitution. .El -.Pp -.Ex -std rcsclean .Sh ENVIRONMENT .Bl -tag -width RCSINIT .It Ev RCSINIT If set, this variable should contain a list of space-delimited options that are prepended to the argument list. .El +.Sh EXIT STATUS +.Ex -std rcsclean .Sh EXAMPLES Remove all working files (locked or not) in the current directory that were not changed since last checkout: diff --git a/usr.bin/rcs/rcsdiff.1 b/usr.bin/rcs/rcsdiff.1 index 6a8e5ee94e4..96657468bf7 100644 --- a/usr.bin/rcs/rcsdiff.1 +++ b/usr.bin/rcs/rcsdiff.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rcsdiff.1,v 1.29 2010/04/07 09:39:14 lum Exp $ +.\" $OpenBSD: rcsdiff.1,v 1.30 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 2005 Joris Vink <joris@openbsd.org> .\" All rights reserved. @@ -14,7 +14,7 @@ .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.Dd $Mdocdate: April 7 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt RCSDIFF 1 .Os .Sh NAME @@ -106,6 +106,19 @@ are to be created. The default is set to .Pa /tmp . .El +.Sh EXIT STATUS +The +.Nm +utility exits with one of the following values: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It 0 +No differences were found. +.It 1 +Differences were found. +.It 2 +An error occurred. +.El .Sh EXAMPLES Compare the latest revision of the default branch with the content of working file @@ -118,19 +131,6 @@ Compare revision 1.7 and 1.8 of file and ignore differences in keyword values: .Pp .Dl $ rcsdiff -kk -r1.7 -r1.8 foo.c -.Sh DIAGNOSTICS -The -.Nm -utility exits with one of the following values: -.Pp -.Bl -tag -width Ds -compact -offset indent -.It 0 -No differences were found. -.It 1 -Differences were found. -.It 2 -An error occurred. -.El .Sh SEE ALSO .Xr ci 1 , .Xr co 1 , diff --git a/usr.bin/rcs/rcsmerge.1 b/usr.bin/rcs/rcsmerge.1 index 04ca888c0ae..4655cdb7a03 100644 --- a/usr.bin/rcs/rcsmerge.1 +++ b/usr.bin/rcs/rcsmerge.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rcsmerge.1,v 1.14 2007/05/31 19:20:15 jmc Exp $ +.\" $OpenBSD: rcsmerge.1,v 1.15 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org> .\" All rights reserved. @@ -14,7 +14,7 @@ .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 3 2010 $ .Dt RCSMERGE 1 .Os .Sh NAME @@ -80,6 +80,19 @@ Specify the time zone for keyword substitution. If set, this variable should contain a list of space-delimited options that are prepended to the argument list. .El +.Sh EXIT STATUS +The +.Nm +utility exits with one of the following values: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It 0 +No overlaps. +.It 1 +Overlaps were found. +.It 2 +An error occurred. +.El .Sh EXAMPLES Merge differences between revision 1.4 and 1.8 of .Pa foo.c @@ -92,19 +105,6 @@ Undo changes between revision 2.4 and 2.8 of overwriting the working copy: .Pp .Dl $ rcsmerge -r2.8 -r2.4 foo.c -.Sh DIAGNOSTICS -The -.Nm -utility exits with one of the following values: -.Pp -.Bl -tag -width Ds -compact -offset indent -.It 0 -No overlaps. -.It 1 -Overlaps were found. -.It 2 -An error occurred. -.El .Sh SEE ALSO .Xr ci 1 , .Xr co 1 , diff --git a/usr.bin/rcs/rlog.1 b/usr.bin/rcs/rlog.1 index df1b93ce1cb..d3826c02b0a 100644 --- a/usr.bin/rcs/rlog.1 +++ b/usr.bin/rcs/rlog.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rlog.1,v 1.23 2007/09/09 17:18:53 ray Exp $ +.\" $OpenBSD: rlog.1,v 1.24 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org> .\" All rights reserved. @@ -14,7 +14,7 @@ .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.Dd $Mdocdate: September 9 2007 $ +.Dd $Mdocdate: September 3 2010 $ .Dt RLOG 1 .Os .Sh NAME @@ -165,14 +165,14 @@ dates used in the .Fl d option. .El -.Pp -.Ex -std rlog .Sh ENVIRONMENT .Bl -tag -width RCSINIT .It Ev RCSINIT If set, this variable should contain a list of space-delimited options that are prepended to the argument list. .El +.Sh EXIT STATUS +.Ex -std rlog .Sh EXAMPLES Print complete information about files: .Pp diff --git a/usr.bin/readlink/readlink.1 b/usr.bin/readlink/readlink.1 index daf244336be..68076637956 100644 --- a/usr.bin/readlink/readlink.1 +++ b/usr.bin/readlink/readlink.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: readlink.1,v 1.12 2009/01/04 11:19:55 sobrado Exp $ +.\" $OpenBSD: readlink.1,v 1.13 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -30,7 +30,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: January 4 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt READLINK 1 .Os .Sh NAME @@ -67,7 +67,7 @@ The argument does not need to be a symbolic link. .It Fl n Do not print a trailing newline character. .El -.Pp +.Sh EXIT STATUS .Ex -std readlink .Sh SEE ALSO .Xr readlink 2 , diff --git a/usr.bin/sed/sed.1 b/usr.bin/sed/sed.1 index 1e0f96da26d..1b73cf57b70 100644 --- a/usr.bin/sed/sed.1 +++ b/usr.bin/sed/sed.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sed.1,v 1.35 2010/01/10 10:53:33 jmc Exp $ +.\" $OpenBSD: sed.1,v 1.36 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" from: @(#)sed.1 8.2 (Berkeley) 12/30/93 .\" -.Dd $Mdocdate: January 10 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt SED 1 .Os .Sh NAME @@ -512,7 +512,7 @@ This is the same as specifying the .Fl n option on the command line. .El -.Pp +.Sh EXIT STATUS .Ex -std sed .Sh SEE ALSO .Xr awk 1 , diff --git a/usr.bin/sort/sort.1 b/usr.bin/sort/sort.1 index 387a4ec7677..37e20377c8a 100644 --- a/usr.bin/sort/sort.1 +++ b/usr.bin/sort/sort.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sort.1,v 1.38 2010/06/28 15:28:52 jmc Exp $ +.\" $OpenBSD: sort.1,v 1.39 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)sort.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: June 28 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt SORT 1 .Os .Sh NAME @@ -364,27 +364,6 @@ option is still supported, except for which has no .Fl k equivalent. -.Pp -The -.Nm -utility exits with one of the following values: -.Pp -.Bl -tag -width flag -compact -.It 0 -Normal behavior. -.It 1 -The input file is not sorted and -.Fl C -or -.Fl c -was given, or there are duplicate keys and -.Fl Cu -or -.Fl cu -was given. -.It 2 -An error occurred. -.El .Sh ENVIRONMENT .Bl -tag -width Fl .It Ev TMPDIR @@ -406,6 +385,27 @@ if .Ar output already exists .El +.Sh EXIT STATUS +The +.Nm +utility exits with one of the following values: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It 0 +Normal behavior. +.It 1 +The input file is not sorted and +.Fl C +or +.Fl c +was given, or there are duplicate keys and +.Fl Cu +or +.Fl cu +was given. +.It 2 +An error occurred. +.El .Sh SEE ALSO .Xr comm 1 , .Xr join 1 , diff --git a/usr.bin/split/split.1 b/usr.bin/split/split.1 index 4090d1c80b3..66dcb152bd6 100644 --- a/usr.bin/split/split.1 +++ b/usr.bin/split/split.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: split.1,v 1.19 2010/07/22 07:38:56 jmc Exp $ +.\" $OpenBSD: split.1,v 1.20 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: split.1,v 1.5 1994/12/21 08:20:35 jtc Exp $ .\" .\" Copyright (c) 1990, 1991, 1993, 1994 @@ -30,7 +30,7 @@ .\" .\" @(#)split.1 8.3 (Berkeley) 4/16/94 .\" -.Dd $Mdocdate: July 22 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt SPLIT 1 .Os .Sh NAME @@ -122,7 +122,7 @@ files named with the prefixes .Sq y , and .Sq z . -.Pp +.Sh EXIT STATUS .Ex -std split .Sh SEE ALSO .Xr csplit 1 , diff --git a/usr.bin/ssh/scp.1 b/usr.bin/ssh/scp.1 index bc5e259f54f..82da30f4fc1 100644 --- a/usr.bin/ssh/scp.1 +++ b/usr.bin/ssh/scp.1 @@ -9,9 +9,9 @@ .\" .\" Created: Sun May 7 00:14:37 1995 ylo .\" -.\" $OpenBSD: scp.1,v 1.50 2010/02/08 10:50:20 markus Exp $ +.\" $OpenBSD: scp.1,v 1.51 2010/09/03 11:09:29 jmc Exp $ .\" -.Dd $Mdocdate: February 8 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt SCP 1 .Os .Sh NAME @@ -209,7 +209,7 @@ to print debugging messages about their progress. This is helpful in debugging connection, authentication, and configuration problems. .El -.Pp +.Sh EXIT STATUS .Ex -std scp .Sh SEE ALSO .Xr rcp 1 , diff --git a/usr.bin/stat/stat.1 b/usr.bin/stat/stat.1 index 637420ea6a9..754c7180f36 100644 --- a/usr.bin/stat/stat.1 +++ b/usr.bin/stat/stat.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: stat.1,v 1.19 2009/10/22 09:10:40 sobrado Exp $ +.\" $OpenBSD: stat.1,v 1.20 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: stat.1,v 1.11 2003/05/08 13:07:10 wiz Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: October 22 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt STAT 1 .Os .Sh NAME @@ -380,7 +380,7 @@ and .Cm N , which default to .Cm S . -.Pp +.Sh EXIT STATUS .Ex -std stat .Sh EXAMPLES Given a symbolic link ``foo'' that points from /tmp/foo to /, you would use diff --git a/usr.bin/strings/strings.1 b/usr.bin/strings/strings.1 index da498dce7fe..d84ff65e507 100644 --- a/usr.bin/strings/strings.1 +++ b/usr.bin/strings/strings.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strings.1,v 1.15 2010/07/22 07:38:56 jmc Exp $ +.\" $OpenBSD: strings.1,v 1.16 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: strings.1,v 1.4 1994/12/10 11:54:28 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)strings.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: July 22 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt STRINGS 1 .Os .Sh NAME @@ -89,7 +89,7 @@ for hexadecimal. .Pp .Nm is useful for identifying random binaries, among other things. -.Pp +.Sh EXIT STATUS .Ex -std strings .Sh SEE ALSO .Xr hexdump 1 , diff --git a/usr.bin/strip/strip.1 b/usr.bin/strip/strip.1 index fc236b9a32e..94ae043d084 100644 --- a/usr.bin/strip/strip.1 +++ b/usr.bin/strip/strip.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strip.1,v 1.14 2010/06/03 11:23:16 jmc Exp $ +.\" $OpenBSD: strip.1,v 1.15 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1989, 1990 The Regents of the University of California. .\" All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)strip.1 6.6 (Berkeley) 5/26/91 .\" -.Dd $Mdocdate: June 3 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt STRIP 1 .Os .Sh NAME @@ -65,7 +65,7 @@ Delete only debugging, compiler identification, and local symbols. .El .Pp When conflicting options are combined, the latter option wins. -.Pp +.Sh EXIT STATUS .Ex -std strip .Sh SEE ALSO .Xr cc 1 , diff --git a/usr.bin/tail/tail.1 b/usr.bin/tail/tail.1 index 4e1869d0a11..a8349d5d871 100644 --- a/usr.bin/tail/tail.1 +++ b/usr.bin/tail/tail.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tail.1,v 1.17 2009/02/08 17:15:10 jmc Exp $ +.\" $OpenBSD: tail.1,v 1.18 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: tail.1,v 1.4 1994/11/23 07:42:13 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1991, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)tail.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: February 8 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt TAIL 1 .Os .Sh NAME @@ -129,7 +129,7 @@ header consisting of the string where .Dq XXX is the name of the file. -.Pp +.Sh EXIT STATUS .Ex -std tail .Sh EXAMPLES To display the last 500 lines of the file diff --git a/usr.bin/tee/tee.1 b/usr.bin/tee/tee.1 index 0d99874c339..b16565e63ce 100644 --- a/usr.bin/tee/tee.1 +++ b/usr.bin/tee/tee.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tee.1,v 1.10 2009/08/16 09:41:08 sobrado Exp $ +.\" $OpenBSD: tee.1,v 1.11 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: tee.1,v 1.4 1994/12/09 01:43:37 jtc Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)tee.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: August 16 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt TEE 1 .Os .Sh NAME @@ -74,7 +74,7 @@ utility takes the default action for all signals, except in the event of the .Fl i option. -.Pp +.Sh EXIT STATUS .Ex -std tee .Sh STANDARDS The diff --git a/usr.bin/touch/touch.1 b/usr.bin/touch/touch.1 index 1c42a188314..a13476550d9 100644 --- a/usr.bin/touch/touch.1 +++ b/usr.bin/touch/touch.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: touch.1,v 1.16 2009/02/08 17:15:10 jmc Exp $ +.\" $OpenBSD: touch.1,v 1.17 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: touch.1,v 1.8 1995/08/31 22:10:05 jtc Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)touch.1 8.3 (Berkeley) 4/28/95 .\" -.Dd $Mdocdate: February 8 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt TOUCH 1 .Os .Sh NAME @@ -118,7 +118,7 @@ If the .Dq SS letter pair is not specified, the value defaults to 0. .El -.Pp +.Sh EXIT STATUS .Ex -std touch .Sh SEE ALSO .Xr utimes 2 diff --git a/usr.bin/tr/tr.1 b/usr.bin/tr/tr.1 index fb2046d11b1..58565f797a7 100644 --- a/usr.bin/tr/tr.1 +++ b/usr.bin/tr/tr.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tr.1,v 1.16 2010/07/15 20:51:38 schwarze Exp $ +.\" $OpenBSD: tr.1,v 1.17 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: tr.1,v 1.5 1994/12/07 08:35:13 jtc Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)tr.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: July 15 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt TR 1 .Os .Sh NAME @@ -240,7 +240,7 @@ If has a leading zero, it is interpreted as an octal value; otherwise, it's interpreted as a decimal value. .El -.Pp +.Sh EXIT STATUS .Ex -std tr .Sh EXAMPLES The following examples are shown as given to the shell: diff --git a/usr.bin/tsort/tsort.1 b/usr.bin/tsort/tsort.1 index cfe8770c46d..45053d12ff9 100644 --- a/usr.bin/tsort/tsort.1 +++ b/usr.bin/tsort/tsort.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tsort.1,v 1.21 2010/07/21 20:02:29 jmc Exp $ +.\" $OpenBSD: tsort.1,v 1.22 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: tsort.1,v 1.6 1996/01/17 20:37:49 mycroft Exp $ .\" .\" Copyright (c) 1990, 1993, 1994 @@ -33,7 +33,7 @@ .\" .\" @(#)tsort.1 8.3 (Berkeley) 4/1/94 .\" -.Dd $Mdocdate: July 21 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt TSORT 1 .Os .Sh NAME @@ -95,7 +95,7 @@ Exit with exit code the number of cycles .Nm had to break. .El -.Pp +.Sh EXIT STATUS .Ex -std tsort .Sh EXAMPLES Faced with the input: diff --git a/usr.bin/tty/tty.1 b/usr.bin/tty/tty.1 index 4643de83bb8..0187f849379 100644 --- a/usr.bin/tty/tty.1 +++ b/usr.bin/tty/tty.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tty.1,v 1.13 2009/02/08 17:15:10 jmc Exp $ +.\" $OpenBSD: tty.1,v 1.14 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: tty.1,v 1.4 1994/12/07 00:46:55 jtc Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)tty.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: February 8 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt TTY 1 .Os .Sh NAME @@ -65,11 +65,11 @@ option is deprecated in favor of the .Dq Li "test -t 0" command. .El -.Pp +.Sh EXIT STATUS The .Nm utility exits 0 if the standard input is a terminal, 1 if the standard input -is not a terminal, or >1 if an error occurred. +is not a terminal, or \*(Gt1 if an error occurred. .Sh SEE ALSO .Xr stty 1 , .Xr test 1 , diff --git a/usr.bin/uname/uname.1 b/usr.bin/uname/uname.1 index affe9edaa40..1200ce361d6 100644 --- a/usr.bin/uname/uname.1 +++ b/usr.bin/uname/uname.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: uname.1,v 1.15 2010/07/22 07:38:56 jmc Exp $ +.\" $OpenBSD: uname.1,v 1.16 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1990 The Regents of the University of California. .\" All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)du.1 6.13 (Berkeley) 6/20/91 .\" -.Dd $Mdocdate: July 22 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt UNAME 1 .Os .Sh NAME @@ -71,7 +71,7 @@ If no options are specified, prints the operating system name as if the .Fl s option had been specified. -.Pp +.Sh EXIT STATUS .Ex -std uname .Sh SEE ALSO .Xr hostname 1 , diff --git a/usr.bin/unifdef/unifdef.1 b/usr.bin/unifdef/unifdef.1 index c232938e970..3ce7feb94e6 100644 --- a/usr.bin/unifdef/unifdef.1 +++ b/usr.bin/unifdef/unifdef.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: unifdef.1,v 1.16 2007/05/31 19:20:19 jmc Exp $ +.\" $OpenBSD: unifdef.1,v 1.17 2010/09/03 11:09:29 jmc Exp $ .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -33,7 +33,7 @@ .\" $dotat: things/unifdef.1,v 1.26 2002/09/24 19:44:12 fanf2 Exp $ .\" $FreeBSD: src/usr.bin/unifdef/unifdef.1,v 1.15 2002/09/24 19:48:39 fanf Exp $ .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: September 3 2010 $ .Dt UNIFDEF 1 .Os .Sh NAME @@ -256,6 +256,11 @@ utility works nicely with the .Fl D Ns Ar sym option of .Xr diff 1 . +.Sh EXIT STATUS +The +.Nm +utility exits 0 if the output is an exact copy of the input, +1 if not, and 2 if in trouble. .Sh DIAGNOSTICS .Bl -item .It @@ -277,11 +282,6 @@ Premature .Tn EOF in comment. .El -.Pp -The -.Nm -utility exits 0 if the output is an exact copy of the input, -1 if not, and 2 if in trouble. .Sh SEE ALSO .Xr cpp 1 , .Xr diff 1 diff --git a/usr.bin/uniq/uniq.1 b/usr.bin/uniq/uniq.1 index 3afb4e31191..7858404e913 100644 --- a/usr.bin/uniq/uniq.1 +++ b/usr.bin/uniq/uniq.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: uniq.1,v 1.16 2009/02/08 17:15:10 jmc Exp $ +.\" $OpenBSD: uniq.1,v 1.17 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: uniq.1,v 1.5 1994/12/06 07:51:15 jtc Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)uniq.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: February 8 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt UNIQ 1 .Os .Sh NAME @@ -114,7 +114,7 @@ A file name of .Ql - denotes the standard input or the standard output .Pq depending on its position on the command line . -.Pp +.Sh EXIT STATUS .Ex -std uniq .Sh SEE ALSO .Xr sort 1 diff --git a/usr.bin/wc/wc.1 b/usr.bin/wc/wc.1 index f4bbeade42a..761c9fde2c7 100644 --- a/usr.bin/wc/wc.1 +++ b/usr.bin/wc/wc.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wc.1,v 1.21 2009/08/16 09:41:08 sobrado Exp $ +.\" $OpenBSD: wc.1,v 1.22 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" from: @(#)wc.1 8.2 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: August 16 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt WC 1 .Os .Sh NAME @@ -111,7 +111,7 @@ the number of characters in the listing above. The counts for lines, words, and bytes .Pq or characters are integers separated by spaces. -.Pp +.Sh EXIT STATUS .Ex -std wc .Sh SEE ALSO .Xr isspace 3 diff --git a/usr.bin/what/what.1 b/usr.bin/what/what.1 index 5f73d2fc015..a4e5e7076d3 100644 --- a/usr.bin/what/what.1 +++ b/usr.bin/what/what.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: what.1,v 1.15 2010/07/19 10:01:32 jmc Exp $ +.\" $OpenBSD: what.1,v 1.16 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: what.1,v 1.3 1994/11/17 06:59:38 jtc Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)what.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: July 19 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt WHAT 1 .Os .Sh NAME @@ -61,7 +61,7 @@ If the .Fl s option is specified, only the first occurrence of an identification string in each file is printed. -.Pp +.Sh EXIT STATUS The .Nm utility exits with a return value of 0 if any identification strings were found, diff --git a/usr.bin/which/whereis.1 b/usr.bin/which/whereis.1 index ac4f382a4fb..bfd8af69486 100644 --- a/usr.bin/which/whereis.1 +++ b/usr.bin/which/whereis.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: whereis.1,v 1.11 2007/08/14 17:41:10 sobrado Exp $ +.\" $OpenBSD: whereis.1,v 1.12 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: whereis.1,v 1.4 1995/08/31 21:54:51 jtc Exp $ .\" .\" Copyright (c) 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)whereis.1 8.3 (Berkeley) 4/27/95 .\" -.Dd $Mdocdate: August 14 2007 $ +.Dd $Mdocdate: September 3 2010 $ .Dt WHEREIS 1 .Os .Sh NAME @@ -58,12 +58,12 @@ If the flag is given, .Nm will return a list of all matches instead of just the first match. -.Pp +.Sh EXIT STATUS The .Nm utility exits with one of the following values: .Pp -.Bl -tag -width 4n -compact +.Bl -tag -width Ds -offset indent -compact .It 0 All names were successfully resolved. .It 1 diff --git a/usr.bin/which/which.1 b/usr.bin/which/which.1 index fd74570b6f5..f36b41ee446 100644 --- a/usr.bin/which/which.1 +++ b/usr.bin/which/which.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: which.1,v 1.19 2009/03/21 18:07:41 sobrado Exp $ +.\" $OpenBSD: which.1,v 1.20 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1980, 1991 Regents of the University of California. .\" All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)which.1 6.3 (Berkeley) 4/23/91 .\" -.Dd $Mdocdate: March 21 2009 $ +.Dd $Mdocdate: September 3 2010 $ .Dt WHICH 1 .Os .Sh NAME @@ -50,21 +50,6 @@ If the flag is given, .Nm will return a list of all matches instead of just the first match. -.Pp -The -.Nm -utility exits with one of the following values: -.Pp -.Bl -tag -width 4n -compact -.It 0 -All names were successfully resolved. -.It 1 -Some names were resolved but not all. -.It 2 -No names were resolved. -.It \-1 -A system error occurred. -.El .Sh ENVIRONMENT The following environment variables affect the execution of .Nm which : @@ -78,6 +63,21 @@ or relative pathname, .Nm will fail. .El +.Sh EXIT STATUS +The +.Nm +utility exits with one of the following values: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It 0 +All names were successfully resolved. +.It 1 +Some names were resolved but not all. +.It 2 +No names were resolved. +.It \-1 +A system error occurred. +.El .Sh DIAGNOSTICS A diagnostic is given if an executable file with the argument name was not found in the path. diff --git a/usr.bin/who/who.1 b/usr.bin/who/who.1 index d4f42f1cb92..1d8db4a4aa6 100644 --- a/usr.bin/who/who.1 +++ b/usr.bin/who/who.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: who.1,v 1.23 2010/07/21 20:02:29 jmc Exp $ +.\" $OpenBSD: who.1,v 1.24 2010/09/03 11:09:29 jmc Exp $ .\" $NetBSD: who.1,v 1.5 1994/12/07 04:28:47 jtc Exp $ .\" .\" Copyright (c) 1986, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)who.1 8.2 (Berkeley) 12/30/93 .\" -.Dd $Mdocdate: July 21 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt WHO 1 .Os .Sh NAME @@ -115,14 +115,14 @@ and Logouts produce an output line without any user name. For more information on the special characters, see .Xr utmp 5 . -.Pp -.Ex -std who .Sh FILES .Bl -tag -width /var/log/wtmp.[0-6] -compact .It Pa /var/run/utmp .It Pa /var/log/wtmp .It Pa /var/log/wtmp.[0-6] .El +.Sh EXIT STATUS +.Ex -std who .Sh SEE ALSO .Xr last 1 , .Xr mesg 1 , diff --git a/usr.bin/write/write.1 b/usr.bin/write/write.1 index 2c4df66a292..563bf454ce9 100644 --- a/usr.bin/write/write.1 +++ b/usr.bin/write/write.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: write.1,v 1.14 2010/07/21 19:53:45 jmc Exp $ +.\" $OpenBSD: write.1,v 1.15 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1989, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" from: @(#)write.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: July 21 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt WRITE 1 .Os .Sh NAME @@ -94,12 +94,12 @@ The string .Dq oo means that the person believes the conversation to be over. -.Pp +.Sh EXIT STATUS The .Nm utility exits with one of the following values: .Pp -.Bl -tag -width Ds -compact -offset indent +.Bl -tag -width Ds -offset indent -compact .It 0 Normal behavior. .It \*(Gt0 diff --git a/usr.bin/xargs/xargs.1 b/usr.bin/xargs/xargs.1 index f2725b675dd..c61247cbcce 100644 --- a/usr.bin/xargs/xargs.1 +++ b/usr.bin/xargs/xargs.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: xargs.1,v 1.25 2010/03/25 01:03:57 schwarze Exp $ +.\" $OpenBSD: xargs.1,v 1.26 2010/09/03 11:09:29 jmc Exp $ .\" $FreeBSD: xargs.1,v 1.30 2003/05/21 21:07:28 ru Exp $$ .\" .\" Copyright (c) 1990, 1991, 1993 @@ -34,7 +34,7 @@ .\" .\" @(#)xargs.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: March 25 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt XARGS 1 .Os .Sh NAME @@ -276,11 +276,11 @@ is terminated by a signal, or an invocation of .Ar utility exits with a value of 255. -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Nm exits with one of the following values: .Pp -.Bl -tag -width Ds -compact +.Bl -tag -width Ds -offset indent -compact .It 0 All invocations of .Ar utility diff --git a/usr.bin/yacc/yacc.1 b/usr.bin/yacc/yacc.1 index 33443eba2ba..c03f10a7cf5 100644 --- a/usr.bin/yacc/yacc.1 +++ b/usr.bin/yacc/yacc.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: yacc.1,v 1.24 2010/07/21 19:44:47 jmc Exp $ +.\" $OpenBSD: yacc.1,v 1.25 2010/09/03 11:09:29 jmc Exp $ .\" .\" Copyright (c) 1989, 1990 The Regents of the University of California. .\" All rights reserved. @@ -32,7 +32,7 @@ .\" .\" from: @(#)yacc.1 5.7 (Berkeley) 7/30/91 .\" -.Dd $Mdocdate: July 21 2010 $ +.Dd $Mdocdate: September 3 2010 $ .Dt YACC 1 .Os .Sh NAME @@ -135,8 +135,6 @@ option causes a human-readable description of the generated parser to be written to the file .Pa y.output . .El -.Pp -.Ex -std yacc .Sh ENVIRONMENT .Bl -tag -width TMPDIR .It Ev TMPDIR @@ -173,6 +171,8 @@ is defined and non-zero. .It Pa /tmp/yacc.tXXXXXXXXXX .It Pa /tmp/yacc.uXXXXXXXXXX .El +.Sh EXIT STATUS +.Ex -std yacc .Sh DIAGNOSTICS If there are rules that are never reduced, the number of such rules is written to the standard error. |