Module Name: src
Committed By: snj
Date: Sun Apr 13 01:45:34 UTC 2014
Modified Files:
src/usr.bin/asa: asa.1
src/usr.bin/cap_mkdb: cap_mkdb.1
src/usr.bin/comm: comm.1
src/usr.bin/ctags: ctags.1
src/usr.bin/getconf: getconf.1
src/usr.bin/pmap: pmap.1
src/usr.bin/printf: printf.1
src/usr.bin/progress: progress.1
src/usr.bin/stat: stat.1
Log Message:
Change some standard exit status text to ".Ex -std"
>From Eitan Adler in PR bin/47790.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/asa/asa.1
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/cap_mkdb/cap_mkdb.1
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/comm/comm.1
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/ctags/ctags.1
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/getconf/getconf.1
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/pmap/pmap.1
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/printf/printf.1
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/progress/progress.1
cvs rdiff -u -r1.36 -r1.37 src/usr.bin/stat/stat.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/asa/asa.1
diff -u src/usr.bin/asa/asa.1:1.11 src/usr.bin/asa/asa.1:1.12
--- src/usr.bin/asa/asa.1:1.11 Fri Feb 8 01:36:18 2002
+++ src/usr.bin/asa/asa.1 Sun Apr 13 01:45:34 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: asa.1,v 1.11 2002/02/08 01:36:18 ross Exp $
+.\" $NetBSD: asa.1,v 1.12 2014/04/13 01:45:34 snj Exp $
.\"
.\" Copyright (c) 1993 Winning Strategies, Inc.
.\" All rights reserved.
@@ -62,9 +62,7 @@ before printing the rest of the line.
Lines beginning with characters other than the above are treated as if they
begin with \*[Lt]space\*[Gt].
.Sh EXIT STATUS
-The
-.Nm
-utility exit 0 on success, and \*[Gt]0 if an error occurs.
+.Ex -std
.Sh EXAMPLES
To view a file containing the output of a
.Tn FORTRAN
Index: src/usr.bin/cap_mkdb/cap_mkdb.1
diff -u src/usr.bin/cap_mkdb/cap_mkdb.1:1.18 src/usr.bin/cap_mkdb/cap_mkdb.1:1.19
--- src/usr.bin/cap_mkdb/cap_mkdb.1:1.18 Sat Apr 21 12:27:29 2012
+++ src/usr.bin/cap_mkdb/cap_mkdb.1 Sun Apr 13 01:45:34 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: cap_mkdb.1,v 1.18 2012/04/21 12:27:29 roy Exp $
+.\" $NetBSD: cap_mkdb.1,v 1.19 2014/04/13 01:45:34 snj Exp $
.\"
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -104,9 +104,7 @@ The data field of this key/data pair is
pair of the first type which has the real data associated with the
name.
.Sh EXIT STATUS
-The
-.Nm
-utility exits 0 on success and \*[Gt]0 if an error occurs.
+.Ex -std
.Sh SEE ALSO
.Xr dbopen 3 ,
.Xr getcap 3 ,
Index: src/usr.bin/comm/comm.1
diff -u src/usr.bin/comm/comm.1:1.11 src/usr.bin/comm/comm.1:1.12
--- src/usr.bin/comm/comm.1:1.11 Mon Mar 9 19:24:32 2009
+++ src/usr.bin/comm/comm.1 Sun Apr 13 01:45:34 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: comm.1,v 1.11 2009/03/09 19:24:32 joerg Exp $
+.\" $NetBSD: comm.1,v 1.12 2014/04/13 01:45:34 snj Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -89,8 +89,7 @@ participate in line comparisons.
.\" .It Ev LC_MESSAGES
.\" .El
.Sh EXIT STATUS
-.Nm
-exits 0 on success, \*[Gt]0 if an error occurred.
+.Ex -std
.Sh SEE ALSO
.Xr cmp 1 ,
.Xr diff 1 ,
Index: src/usr.bin/ctags/ctags.1
diff -u src/usr.bin/ctags/ctags.1:1.16 src/usr.bin/ctags/ctags.1:1.17
--- src/usr.bin/ctags/ctags.1:1.16 Fri May 14 16:48:36 2010
+++ src/usr.bin/ctags/ctags.1 Sun Apr 13 01:45:34 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: ctags.1,v 1.16 2010/05/14 16:48:36 joerg Exp $
+.\" $NetBSD: ctags.1,v 1.17 2014/04/13 01:45:34 snj Exp $
.\"
.\" Copyright (c) 1987, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -177,8 +177,7 @@ the second section of the lex file.
default output tags file
.El
.Sh EXIT STATUS
-.Nm
-exits with a value of 1 if an error occurred, 0 otherwise.
+.Ex -std
Duplicate objects are not considered errors.
.Sh SEE ALSO
.Xr ex 1 ,
Index: src/usr.bin/getconf/getconf.1
diff -u src/usr.bin/getconf/getconf.1:1.12 src/usr.bin/getconf/getconf.1:1.13
--- src/usr.bin/getconf/getconf.1:1.12 Tue Aug 9 18:11:38 2011
+++ src/usr.bin/getconf/getconf.1 Sun Apr 13 01:45:34 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: getconf.1,v 1.12 2011/08/09 18:11:38 jruoho Exp $
+.\" $NetBSD: getconf.1,v 1.13 2014/04/13 01:45:34 snj Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -81,9 +81,7 @@ standard output, in the format
.Va value
.Dc .
.Sh EXIT STATUS
-The
-.Nm
-utility exits 0 on success, and \*[Gt]0 if an error occurs.
+.Ex -std
.Sh SEE ALSO
.Xr pathconf 2 ,
.Xr confstr 3 ,
Index: src/usr.bin/pmap/pmap.1
diff -u src/usr.bin/pmap/pmap.1:1.17 src/usr.bin/pmap/pmap.1:1.18
--- src/usr.bin/pmap/pmap.1:1.17 Fri May 14 17:31:26 2010
+++ src/usr.bin/pmap/pmap.1 Sun Apr 13 01:45:34 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: pmap.1,v 1.17 2010/05/14 17:31:26 joerg Exp $
+.\" $NetBSD: pmap.1,v 1.18 2014/04/13 01:45:34 snj Exp $
.\"
.\" Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -202,8 +202,7 @@ and another process as the same time, si
.Fl p
and place the extra PID at the end of the command line.
.Sh EXIT STATUS
-.Nm
-exits 0 on success, and \*[Gt]0 if an error occurred.
+.Ex -std
.Sh EXAMPLES
While the meaning of most of the output is self-evident, some pieces of
it may appear to be a little inscrutable.
Index: src/usr.bin/printf/printf.1
diff -u src/usr.bin/printf/printf.1:1.24 src/usr.bin/printf/printf.1:1.25
--- src/usr.bin/printf/printf.1:1.24 Mon Apr 5 21:24:14 2010
+++ src/usr.bin/printf/printf.1 Sun Apr 13 01:45:34 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: printf.1,v 1.24 2010/04/05 21:24:14 joerg Exp $
+.\" $NetBSD: printf.1,v 1.25 2014/04/13 01:45:34 snj Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -359,8 +359,7 @@ In no case does a non-existent or small
a field; padding takes place only if the specified field width exceeds
the actual width.
.Sh EXIT STATUS
-.Nm
-exits 0 on success, 1 on failure.
+.Ex -std
.Sh SEE ALSO
.Xr echo 1 ,
.Xr printf 3 ,
Index: src/usr.bin/progress/progress.1
diff -u src/usr.bin/progress/progress.1:1.14 src/usr.bin/progress/progress.1:1.15
--- src/usr.bin/progress/progress.1:1.14 Wed Apr 30 13:11:01 2008
+++ src/usr.bin/progress/progress.1 Sun Apr 13 01:45:34 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: progress.1,v 1.14 2008/04/30 13:11:01 martin Exp $
+.\" $NetBSD: progress.1,v 1.15 2014/04/13 01:45:34 snj Exp $
.\"
.\" Copyright (c) 2003-2007 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -94,8 +94,7 @@ is specified, calculate the length using
.Ic gzip -l .
.El
.Sh EXIT STATUS
-.Nm
-exits 0 on success.
+.Ex -std
.Sh EXAMPLES
The command
.Dl progress -zf file.tar.gz tar xf -
Index: src/usr.bin/stat/stat.1
diff -u src/usr.bin/stat/stat.1:1.36 src/usr.bin/stat/stat.1:1.37
--- src/usr.bin/stat/stat.1:1.36 Mon Dec 3 07:49:21 2012
+++ src/usr.bin/stat/stat.1 Sun Apr 13 01:45:34 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: stat.1,v 1.36 2012/12/03 07:49:21 wiz Exp $
+.\" $NetBSD: stat.1,v 1.37 2014/04/13 01:45:34 snj Exp $
.\"
.\" Copyright (c) 2002-2011 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -477,8 +477,7 @@ and
which default to
.Cm S .
.Sh EXIT STATUS
-.Nm
-exits 0 on success, and \*[Gt]0 if an error occurred.
+.Ex -std
.Sh EXAMPLES
If no options are specified, the default format is
"%d %i %Sp %l %Su %Sg %r %z \e"%Sa\e" \e"%Sm\e" \e"%Sc\e" \e"%SB\e" %k %b %#Xf %N".