summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2009-01-19 09:47:00 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2009-01-19 09:47:00 +0000
commit8b2cb27beb21f979a77b72576a5c157703e6ca59 (patch)
tree033b38eeb630685aa7e9adbeed7bd6c675e853ac
parent7225d7141835b9cb38f6ca9f1a090e1e6046ae70 (diff)
replace standardized text concerning the exit values of applications
with the right mdoc macros.
-rw-r--r--bin/ls/ls.18
-rw-r--r--libexec/mail.local/mail.local.88
-rw-r--r--usr.bin/gzsig/gzsig.110
-rw-r--r--usr.bin/stat/stat.17
-rw-r--r--usr.bin/uniq/uniq.18
-rw-r--r--usr.sbin/procmap/procmap.17
-rw-r--r--usr.sbin/user/group.88
-rw-r--r--usr.sbin/user/groupadd.88
-rw-r--r--usr.sbin/user/groupdel.88
-rw-r--r--usr.sbin/user/groupmod.88
-rw-r--r--usr.sbin/user/user.88
-rw-r--r--usr.sbin/user/useradd.88
-rw-r--r--usr.sbin/user/userdel.88
-rw-r--r--usr.sbin/user/usermod.88
14 files changed, 43 insertions, 69 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1
index 18ff219fe5a..e0b874c95de 100644
--- a/bin/ls/ls.1
+++ b/bin/ls/ls.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ls.1,v 1.54 2008/09/29 16:42:41 jmc Exp $
+.\" $OpenBSD: ls.1,v 1.55 2009/01/19 09:46:59 sobrado Exp $
.\" $NetBSD: ls.1,v 1.14 1995/12/05 02:44:01 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
@@ -33,7 +33,7 @@
.\"
.\" @(#)ls.1 8.7 (Berkeley) 7/29/94
.\"
-.Dd $Mdocdate: September 29 2008 $
+.Dd $Mdocdate: January 19 2009 $
.Dt LS 1
.Os
.Sh NAME
@@ -428,9 +428,7 @@ archived
system immutable
.El
.Pp
-The
-.Nm
-utility exits 0 on success or \*(Gt0 if an error occurred.
+.Ex -std ls
.Sh ENVIRONMENT
.Bl -tag -width BLOCKSIZE
.It Ev BLOCKSIZE
diff --git a/libexec/mail.local/mail.local.8 b/libexec/mail.local/mail.local.8
index 63a80ac1589..da0e4208f7a 100644
--- a/libexec/mail.local/mail.local.8
+++ b/libexec/mail.local/mail.local.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mail.local.8,v 1.27 2008/05/26 09:22:03 sobrado Exp $
+.\" $OpenBSD: mail.local.8,v 1.28 2009/01/19 09:46:59 sobrado Exp $
.\" Copyright (c) 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -28,7 +28,7 @@
.\"
.\" from: @(#)mail.local.8 6.8 (Berkeley) 4/27/91
.\"
-.Dd $Mdocdate: May 26 2008 $
+.Dd $Mdocdate: January 19 2009 $
.Dt MAIL.LOCAL 8
.Os
.Sh NAME
@@ -106,9 +106,7 @@ service is returned by
.Xr getservbyname 3 ,
the biff server is notified of delivered mail.
.Pp
-The
-.Nm
-utility exits 0 on success, and >0 if an error occurs.
+.Ex -std mail.local
.Sh ENVIRONMENT
.Bl -tag -width indent
.It Ev TZ
diff --git a/usr.bin/gzsig/gzsig.1 b/usr.bin/gzsig/gzsig.1
index ff96eaeae8b..dc2ee3ed6b8 100644
--- a/usr.bin/gzsig/gzsig.1
+++ b/usr.bin/gzsig/gzsig.1
@@ -1,5 +1,5 @@
-.\" $OpenBSD: gzsig.1,v 1.9 2007/05/31 19:20:11 jmc Exp $
-.\" $Id: gzsig.1,v 1.9 2007/05/31 19:20:11 jmc Exp $
+.\" $OpenBSD: gzsig.1,v 1.10 2009/01/19 09:46:59 sobrado Exp $
+.\" $Id: gzsig.1,v 1.10 2009/01/19 09:46:59 sobrado 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: May 31 2007 $
+.Dd $Mdocdate: January 19 2009 $
.Dt GZSIG 1
.Sh NAME
.Nm gzsig
@@ -79,9 +79,7 @@ Verify the signature using the public key in
.Ar pubkey .
.El
.Pp
-The
-.Nm
-utility exits 0 on success or \*(Gt0 if an error occurred.
+.Ex -std gzsig
.Sh EXAMPLES
Sign
.Ar file1
diff --git a/usr.bin/stat/stat.1 b/usr.bin/stat/stat.1
index b32f184846f..10d2684f667 100644
--- a/usr.bin/stat/stat.1
+++ b/usr.bin/stat/stat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stat.1,v 1.17 2008/11/08 08:24:10 jmc Exp $
+.\" $OpenBSD: stat.1,v 1.18 2009/01/19 09:46:59 sobrado 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: November 8 2008 $
+.Dd $Mdocdate: January 19 2009 $
.Dt STAT 1
.Os
.Sh NAME
@@ -379,8 +379,7 @@ and
which default to
.Cm S .
.Pp
-.Nm
-exits 0 on success, and \*(Gt0 if an error occurred.
+.Ex -std stat
.Sh EXAMPLES
Given a symbolic link ``foo'' that points from /tmp/foo to /, you would use
.Nm
diff --git a/usr.bin/uniq/uniq.1 b/usr.bin/uniq/uniq.1
index 881b34464ea..7a0a73a46e1 100644
--- a/usr.bin/uniq/uniq.1
+++ b/usr.bin/uniq/uniq.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: uniq.1,v 1.14 2007/11/11 17:50:29 kili Exp $
+.\" $OpenBSD: uniq.1,v 1.15 2009/01/19 09:46:59 sobrado 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: November 11 2007 $
+.Dd $Mdocdate: January 19 2009 $
.Dt UNIQ 1
.Os
.Sh NAME
@@ -115,9 +115,7 @@ A file name of
denotes the standard input or the standard output
.Pq depending on its position on the command line .
.Pp
-The
-.Nm
-utility exits 0 on success or \*(Gt0 if an error occurred.
+.Ex -std uniq
.Sh SEE ALSO
.Xr sort 1
.Sh STANDARDS
diff --git a/usr.sbin/procmap/procmap.1 b/usr.sbin/procmap/procmap.1
index a5b04320171..a0d6af38d8c 100644
--- a/usr.sbin/procmap/procmap.1
+++ b/usr.sbin/procmap/procmap.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: procmap.1,v 1.11 2008/09/18 11:17:32 jmc Exp $
+.\" $OpenBSD: procmap.1,v 1.12 2009/01/19 09:46:59 sobrado Exp $
.\" $NetBSD: pmap.1,v 1.6 2003/01/19 21:25:43 atatat 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: September 18 2008 $
+.Dd $Mdocdate: January 19 2009 $
.Dt PROCMAP 1
.Os
.Sh NAME
@@ -183,8 +183,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.
.Pp
-.Nm
-exits 0 on success, and \*(Gt0 if an error occurred.
+.Ex -std procmap
.Sh EXAMPLES
While the meaning most of the output is self-evident, some pieces of
it may appear to be a little inscrutable.
diff --git a/usr.sbin/user/group.8 b/usr.sbin/user/group.8
index 339b5b81bca..0ba8270e73a 100644
--- a/usr.sbin/user/group.8
+++ b/usr.sbin/user/group.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: group.8,v 1.13 2007/05/31 19:20:30 jmc Exp $
+.\" $OpenBSD: group.8,v 1.14 2009/01/19 09:46:59 sobrado Exp $
.\" $NetBSD: group.8,v 1.10 2003/02/25 10:36:21 wiz Exp $
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -31,7 +31,7 @@
.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 19 2009 $
.Dt GROUP 8
.Os
.Sh NAME
@@ -70,9 +70,7 @@ commands.
.Pp
For a full explanation of the options, please see the relevant manual page.
.Pp
-The
-.Nm
-utility exits 0 on success, and \*(Gt0 if an error occurs.
+.Ex -std group
.Sh SEE ALSO
.Xr group 5 ,
.Xr groupadd 8 ,
diff --git a/usr.sbin/user/groupadd.8 b/usr.sbin/user/groupadd.8
index 819316a6553..f01d458100f 100644
--- a/usr.sbin/user/groupadd.8
+++ b/usr.sbin/user/groupadd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: groupadd.8,v 1.12 2007/05/31 19:20:30 jmc Exp $
+.\" $OpenBSD: groupadd.8,v 1.13 2009/01/19 09:46:59 sobrado Exp $
.\" $NetBSD: groupadd.8,v 1.9 2003/02/14 16:11:37 grant Exp $
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -31,7 +31,7 @@
.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 19 2009 $
.Dt GROUPADD 8
.Os
.Sh NAME
@@ -56,9 +56,7 @@ allow the new group to have a GID which is already in use for another group.
enables verbose mode - explain the commands as they are executed.
.El
.Pp
-The
-.Nm
-utility exits 0 on success, and \*(Gt0 if an error occurs.
+.Ex -std groupadd
.Sh SEE ALSO
.Xr group 5 ,
.Xr groupdel 8 ,
diff --git a/usr.sbin/user/groupdel.8 b/usr.sbin/user/groupdel.8
index 51143c38414..abcf59b12e9 100644
--- a/usr.sbin/user/groupdel.8
+++ b/usr.sbin/user/groupdel.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: groupdel.8,v 1.12 2007/05/31 19:20:30 jmc Exp $
+.\" $OpenBSD: groupdel.8,v 1.13 2009/01/19 09:46:59 sobrado Exp $
.\" $NetBSD: groupdel.8,v 1.9 2003/02/14 16:11:37 grant Exp $
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -31,7 +31,7 @@
.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 19 2009 $
.Dt GROUPDEL 8
.Os
.Sh NAME
@@ -51,9 +51,7 @@ The options are as follows:
enables verbose mode - explain the commands as they are executed.
.El
.Pp
-The
-.Nm
-utility exits 0 on success, and \*(Gt0 if an error occurs.
+.Ex -std groupdel
.Sh SEE ALSO
.Xr group 5 ,
.Xr groupadd 8 ,
diff --git a/usr.sbin/user/groupmod.8 b/usr.sbin/user/groupmod.8
index c1230b0a852..87ddb78a54d 100644
--- a/usr.sbin/user/groupmod.8
+++ b/usr.sbin/user/groupmod.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: groupmod.8,v 1.14 2007/05/31 19:20:30 jmc Exp $
+.\" $OpenBSD: groupmod.8,v 1.15 2009/01/19 09:46:59 sobrado Exp $
.\" $NetBSD: groupmod.8,v 1.10 2003/02/14 16:11:37 grant Exp $
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -31,7 +31,7 @@
.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 19 2009 $
.Dt GROUPMOD 8
.Os
.Sh NAME
@@ -59,9 +59,7 @@ allow the new group to have a GID which is already in use for another group.
enables verbose mode - explain the commands as they are executed.
.El
.Pp
-The
-.Nm
-utility exits 0 on success, and \*(Gt0 if an error occurs.
+.Ex -std groupmod
.Sh SEE ALSO
.Xr group 5 ,
.Xr groupadd 8 ,
diff --git a/usr.sbin/user/user.8 b/usr.sbin/user/user.8
index 046db194580..8bbfce11612 100644
--- a/usr.sbin/user/user.8
+++ b/usr.sbin/user/user.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: user.8,v 1.15 2007/05/31 19:20:30 jmc Exp $
+.\" $OpenBSD: user.8,v 1.16 2009/01/19 09:46:59 sobrado Exp $
.\" $NetBSD: user.8,v 1.9 2001/06/05 11:31:21 wiz Exp $
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -31,7 +31,7 @@
.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 19 2009 $
.Dt USER 8
.Os
.Sh NAME
@@ -110,9 +110,7 @@ commands.
.Pp
For a full explanation of the options, please see the relevant manual page.
.Pp
-The
-.Nm
-utility exits 0 on success, and \*(Gt0 if an error occurs.
+.Ex -std user
.Sh FILES
.Bl -tag -width /etc/usermgmt.conf -compact
.It Pa /etc/skel/.[A-z]*
diff --git a/usr.sbin/user/useradd.8 b/usr.sbin/user/useradd.8
index 83dd83a2f95..39b65c022d6 100644
--- a/usr.sbin/user/useradd.8
+++ b/usr.sbin/user/useradd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: useradd.8,v 1.25 2007/05/31 19:20:30 jmc Exp $
+.\" $OpenBSD: useradd.8,v 1.26 2009/01/19 09:46:59 sobrado Exp $
.\" $NetBSD: useradd.8,v 1.26 2003/02/25 10:36:21 wiz Exp $
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -31,7 +31,7 @@
.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 19 2009 $
.Dt USERADD 8
.Os
.Sh NAME
@@ -251,9 +251,7 @@ at very large sites could take several minutes.
Until this update is completed, the password file is unavailable for other
updates and the new information is not available to programs.
.Pp
-The
-.Nm
-utility exits 0 on success, and \*(Gt0 if an error occurs.
+.Ex -std useradd
.Sh FILES
.Bl -tag -width /etc/usermgmt.conf -compact
.It Pa /etc/usermgmt.conf
diff --git a/usr.sbin/user/userdel.8 b/usr.sbin/user/userdel.8
index b33af46ef45..51599edb702 100644
--- a/usr.sbin/user/userdel.8
+++ b/usr.sbin/user/userdel.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: userdel.8,v 1.11 2007/05/31 19:20:30 jmc Exp $
+.\" $OpenBSD: userdel.8,v 1.12 2009/01/19 09:46:59 sobrado Exp $
.\" $NetBSD: userdel.8,v 1.24 2003/02/25 10:36:21 wiz Exp $
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -31,7 +31,7 @@
.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 19 2009 $
.Dt USERDEL 8
.Os
.Sh NAME
@@ -122,9 +122,7 @@ at very large sites could take several minutes.
Until this update is completed, the password file is unavailable for other
updates and the new information is not available to programs.
.Pp
-The
-.Nm
-utility exits 0 on success, and \*(Gt0 if an error occurs.
+.Ex -std userdel
.Sh FILES
.Bl -tag -width /etc/usermgmt.conf -compact
.It Pa /etc/usermgmt.conf
diff --git a/usr.sbin/user/usermod.8 b/usr.sbin/user/usermod.8
index 1dab95ab50c..77eb7d27b84 100644
--- a/usr.sbin/user/usermod.8
+++ b/usr.sbin/user/usermod.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: usermod.8,v 1.21 2007/05/31 19:20:30 jmc Exp $
+.\" $OpenBSD: usermod.8,v 1.22 2009/01/19 09:46:59 sobrado Exp $
.\" $NetBSD: usermod.8,v 1.17 2003/02/14 16:11:37 grant Exp $
.\"
.\" Copyright (c) 1999 Alistair G. Crooks. All rights reserved.
@@ -31,7 +31,7 @@
.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 19 2009 $
.Dt USERMOD 8
.Os
.Sh NAME
@@ -209,9 +209,7 @@ at very large sites could take several minutes.
Until this update is completed, the password file is unavailable for other
updates and the new information is not available to programs.
.Pp
-The
-.Nm
-utility exits 0 on success, and \*(Gt0 if an error occurs.
+.Ex -std usermod
.Sh FILES
.Bl -tag -width /etc/usermgmt.conf -compact
.It Pa /etc/usermgmt.conf