Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin Add EXIT STATUS section. Use Ex.
details: https://anonhg.NetBSD.org/src/rev/fa2d5788fd29
branches: trunk
changeset: 354922:fa2d5788fd29
user: wiz <wiz%NetBSD.org@localhost>
date: Tue Jul 04 07:01:07 2017 +0000
description:
Add EXIT STATUS section. Use Ex.
diffstat:
usr.bin/id/id.1 | 8 +++-----
usr.bin/join/join.1 | 9 +++------
usr.bin/logname/logname.1 | 8 +++-----
usr.bin/mkfifo/mkfifo.1 | 7 +++----
usr.bin/tail/tail.1 | 8 +++-----
usr.bin/tee/tee.1 | 8 +++-----
6 files changed, 18 insertions(+), 30 deletions(-)
diffs (139 lines):
diff -r 72bb437698f4 -r fa2d5788fd29 usr.bin/id/id.1
--- a/usr.bin/id/id.1 Tue Jul 04 07:00:30 2017 +0000
+++ b/usr.bin/id/id.1 Tue Jul 04 07:01:07 2017 +0000
@@ -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 @@
.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 -r 72bb437698f4 -r fa2d5788fd29 usr.bin/join/join.1
--- a/usr.bin/join/join.1 Tue Jul 04 07:00:30 2017 +0000
+++ b/usr.bin/join/join.1 Tue Jul 04 07:01:07 2017 +0000
@@ -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 @@
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 -r 72bb437698f4 -r fa2d5788fd29 usr.bin/logname/logname.1
--- a/usr.bin/logname/logname.1 Tue Jul 04 07:00:30 2017 +0000
+++ b/usr.bin/logname/logname.1 Tue Jul 04 07:01:07 2017 +0000
@@ -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 @@
.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 -r 72bb437698f4 -r fa2d5788fd29 usr.bin/mkfifo/mkfifo.1
--- a/usr.bin/mkfifo/mkfifo.1 Tue Jul 04 07:00:30 2017 +0000
+++ b/usr.bin/mkfifo/mkfifo.1 Tue Jul 04 07:01:07 2017 +0000
@@ -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 @@
.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 -r 72bb437698f4 -r fa2d5788fd29 usr.bin/tail/tail.1
--- a/usr.bin/tail/tail.1 Tue Jul 04 07:00:30 2017 +0000
+++ b/usr.bin/tail/tail.1 Tue Jul 04 07:01:07 2017 +0000
@@ -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 @@
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 -r 72bb437698f4 -r fa2d5788fd29 usr.bin/tee/tee.1
--- a/usr.bin/tee/tee.1 Tue Jul 04 07:00:30 2017 +0000
+++ b/usr.bin/tee/tee.1 Tue Jul 04 07:01:07 2017 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index