summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2017-07-04 07:01:07 +0000
committerwiz <wiz@NetBSD.org>2017-07-04 07:01:07 +0000
commit24c9ca8eee8bdd6a8bc331f019bc5c040a7c09fa (patch)
tree23f6ca70df4c8d6f33721469b5a252fe8a03b6d3 /usr.bin
parente61b6ad9f3225d9412c83e17e7b8612d45a3501f (diff)
Add EXIT STATUS section. Use Ex.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/id/id.18
-rw-r--r--usr.bin/join/join.19
-rw-r--r--usr.bin/logname/logname.18
-rw-r--r--usr.bin/mkfifo/mkfifo.17
-rw-r--r--usr.bin/tail/tail.18
-rw-r--r--usr.bin/tee/tee.18
6 files changed, 18 insertions, 30 deletions
diff --git a/usr.bin/id/id.1 b/usr.bin/id/id.1
index 7ee419748dc..ad66b62910b 100644
--- a/usr.bin/id/id.1
+++ b/usr.bin/id/id.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: id.1,v 1.13 2017/07/03 21:34:19 wiz Exp $
+.\" $NetBSD: id.1,v 1.14 2017/07/04 07:01:07 wiz Exp $
.\"
.\" Copyright (c) 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -108,10 +108,8 @@ options instead of the effective ID.
.It Fl u
Display the effective user ID as a number.
.El
-.Pp
-The
-.Nm
-utility exits 0 on success, and >0 if an error occurs.
+.Sh EXIT STATUS
+.Ex -std id
.Sh SEE ALSO
.Xr who 1
.Sh STANDARDS
diff --git a/usr.bin/join/join.1 b/usr.bin/join/join.1
index 7f8df111f0f..d40b09931c8 100644
--- a/usr.bin/join/join.1
+++ b/usr.bin/join/join.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: join.1,v 1.14 2017/07/03 21:34:19 wiz Exp $
+.\" $NetBSD: join.1,v 1.15 2017/07/04 07:01:53 wiz Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,6 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)join.1 8.3 (Berkeley) 4/28/95
-.\" $NetBSD: join.1,v 1.14 2017/07/03 21:34:19 wiz Exp $
.\"
.Dd April 28, 1995
.Dt JOIN 1
@@ -152,10 +151,8 @@ If one of the arguments
or
.Ar file2
is ``-'', the standard input is used.
-.Pp
-The
-.Nm
-utility exits 0 on success, and >0 if an error occurs.
+.Sh EXIT STATUS
+.Ex -std join
.Sh COMPATIBILITY
For compatibility with historic versions of
.Nm ,
diff --git a/usr.bin/logname/logname.1 b/usr.bin/logname/logname.1
index 00b09978b62..242ac000a21 100644
--- a/usr.bin/logname/logname.1
+++ b/usr.bin/logname/logname.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: logname.1,v 1.13 2017/07/03 21:34:19 wiz Exp $
+.\" $NetBSD: logname.1,v 1.14 2017/07/04 07:02:44 wiz Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -54,10 +54,8 @@ and
.Ev USER
environment variables
because the environment cannot be trusted.
-.Pp
-The
-.Nm
-utility exits 0 on success, and >0 if an error occurs.
+.Sh EXIT STATUS
+.Ex -std logname
.Sh SEE ALSO
.Xr who 1 ,
.Xr whoami 1 ,
diff --git a/usr.bin/mkfifo/mkfifo.1 b/usr.bin/mkfifo/mkfifo.1
index 2b3fb83a3f0..a178dc2ab3a 100644
--- a/usr.bin/mkfifo/mkfifo.1
+++ b/usr.bin/mkfifo/mkfifo.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: mkfifo.1,v 1.12 2017/07/03 21:34:20 wiz Exp $
+.\" $NetBSD: mkfifo.1,v 1.13 2017/07/04 07:03:32 wiz Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -67,9 +67,8 @@ operators are interpreted relative to an assumed initial mode of
.Pp
.Nm
requires write permission in the parent directory.
-.Pp
-.Nm
-exits 0 if successful, and >0 if an error occurred.
+.Sh EXIT STATUS
+.Ex -std
.Sh SEE ALSO
.Xr mkdir 1 ,
.Xr rm 1 ,
diff --git a/usr.bin/tail/tail.1 b/usr.bin/tail/tail.1
index 23d53624bad..e8c1250acd7 100644
--- a/usr.bin/tail/tail.1
+++ b/usr.bin/tail/tail.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: tail.1,v 1.16 2017/07/03 21:34:21 wiz Exp $
+.\" $NetBSD: tail.1,v 1.17 2017/07/04 07:04:50 wiz Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -139,10 +139,8 @@ header consisting of the string
where
.Dq XXX
is the name of the file.
-.Pp
-The
-.Nm
-utility exits 0 on success, and >0 if an error occurs.
+.Sh EXIT STATUS
+.Ex -std tail
.Sh SEE ALSO
.Xr cat 1 ,
.Xr head 1 ,
diff --git a/usr.bin/tee/tee.1 b/usr.bin/tee/tee.1
index c824c06b9e1..5ba9565a29a 100644
--- a/usr.bin/tee/tee.1
+++ b/usr.bin/tee/tee.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: tee.1,v 1.8 2017/07/03 21:34:21 wiz Exp $
+.\" $NetBSD: tee.1,v 1.9 2017/07/04 07:05:16 wiz Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -73,10 +73,8 @@ utility takes the default action for all signals,
except in the event of the
.Fl i
option.
-.Pp
-The
-.Nm
-utility exits 0 on success, and >0 if an error occurs.
+.Sh EXIT STATUS
+.Ex -std tee
.Sh STANDARDS
The
.Nm