From fc99b6a4d642456c123f4df5651498b52236f1c6 Mon Sep 17 00:00:00 2001 From: snj Date: Sun, 13 Apr 2014 01:45:34 +0000 Subject: [PATCH] Change some standard exit status text to ".Ex -std" From Eitan Adler in PR bin/47790. --- usr.bin/asa/asa.1 | 6 ++---- usr.bin/cap_mkdb/cap_mkdb.1 | 6 ++---- usr.bin/comm/comm.1 | 5 ++--- usr.bin/ctags/ctags.1 | 5 ++--- usr.bin/getconf/getconf.1 | 6 ++---- usr.bin/pmap/pmap.1 | 5 ++--- usr.bin/printf/printf.1 | 5 ++--- usr.bin/progress/progress.1 | 5 ++--- usr.bin/stat/stat.1 | 5 ++--- 9 files changed, 18 insertions(+), 30 deletions(-) diff --git a/usr.bin/asa/asa.1 b/usr.bin/asa/asa.1 index 1fda8f97cb94..f3edd626838c 100644 --- a/usr.bin/asa/asa.1 +++ b/usr.bin/asa/asa.1 @@ -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 diff --git a/usr.bin/cap_mkdb/cap_mkdb.1 b/usr.bin/cap_mkdb/cap_mkdb.1 index 277f79b68f4e..2c038a807009 100644 --- a/usr.bin/cap_mkdb/cap_mkdb.1 +++ b/usr.bin/cap_mkdb/cap_mkdb.1 @@ -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 used to look up a key/data 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 , diff --git a/usr.bin/comm/comm.1 b/usr.bin/comm/comm.1 index 3e614a64ebb5..d3043881a47d 100644 --- a/usr.bin/comm/comm.1 +++ b/usr.bin/comm/comm.1 @@ -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 , diff --git a/usr.bin/ctags/ctags.1 b/usr.bin/ctags/ctags.1 index 649ba63b6df4..14ed2f8dfe6f 100644 --- a/usr.bin/ctags/ctags.1 +++ b/usr.bin/ctags/ctags.1 @@ -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 , diff --git a/usr.bin/getconf/getconf.1 b/usr.bin/getconf/getconf.1 index e1936ec99f6c..520a688b4282 100644 --- a/usr.bin/getconf/getconf.1 +++ b/usr.bin/getconf/getconf.1 @@ -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 , diff --git a/usr.bin/pmap/pmap.1 b/usr.bin/pmap/pmap.1 index f74a33dde1e9..b554abcaa257 100644 --- a/usr.bin/pmap/pmap.1 +++ b/usr.bin/pmap/pmap.1 @@ -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, simply omit the .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. diff --git a/usr.bin/printf/printf.1 b/usr.bin/printf/printf.1 index 3f48f6856a1f..26cd07fd1303 100644 --- a/usr.bin/printf/printf.1 +++ b/usr.bin/printf/printf.1 @@ -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 field width cause truncation of 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 , diff --git a/usr.bin/progress/progress.1 b/usr.bin/progress/progress.1 index 55f09ff4f44e..028bda94fb81 100644 --- a/usr.bin/progress/progress.1 +++ b/usr.bin/progress/progress.1 @@ -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 - diff --git a/usr.bin/stat/stat.1 b/usr.bin/stat/stat.1 index 2f8caa185b96..8d1e30cbb80e 100644 --- a/usr.bin/stat/stat.1 +++ b/usr.bin/stat/stat.1 @@ -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".