Add EXIT STATUS section. Use Ex.

This commit is contained in:
wiz 2017-07-04 07:01:07 +00:00
parent 0aaaa77458
commit 40396b53cb
6 changed files with 18 additions and 30 deletions

View File

@ -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

View File

@ -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 ,

View File

@ -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 ,

View File

@ -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 ,

View File

@ -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 ,

View File

@ -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