diff options
| author | jtc <jtc@NetBSD.org> | 1993-08-28 03:45:02 +0000 |
|---|---|---|
| committer | jtc <jtc@NetBSD.org> | 1993-08-28 03:45:02 +0000 |
| commit | 62fde1efe80261f86cddad64be23dfd4cbfce666 (patch) | |
| tree | ea635de6435d73f01d18662e62eb3f542005e775 /usr.bin | |
| parent | 80d3a747c736bb79151a259dec7934da93e44df4 (diff) | |
Document that true and false are POSIX.2 compliant.
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/false/false.1 | 14 | ||||
| -rw-r--r-- | usr.bin/true/true.1 | 17 |
2 files changed, 10 insertions, 21 deletions
diff --git a/usr.bin/false/false.1 b/usr.bin/false/false.1 index 34387823adf..affcdf97c15 100644 --- a/usr.bin/false/false.1 +++ b/usr.bin/false/false.1 @@ -33,7 +33,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)false.1 6.6 (Berkeley) 7/24/91 -.\" $Id: false.1,v 1.2 1993/08/01 07:33:00 mycroft Exp $ +.\" $Id: false.1,v 1.3 1993/08/28 03:45:02 jtc Exp $ .\" .Dd July 24, 1991 .Dt FALSE 1 @@ -44,14 +44,9 @@ .Sh SYNOPSIS .Nm false .Sh DESCRIPTION -.Nm False -is usually used in a Bourne shell script. -It tests for the appropriate status "false" before running -(or failing to run) a list of commands. -.Pp The .Nm false -utility always exits with a value other than zero. +utility always exits with a nonzero exit code. .Sh SEE ALSO .Xr csh 1 , .Xr sh 1 , @@ -59,6 +54,5 @@ utility always exits with a value other than zero. .Sh STANDARDS The .Nm false -utility is expected to be -.St -p1003.2 -compatible. +utility conforms to +.St -p1003.2-92 . diff --git a/usr.bin/true/true.1 b/usr.bin/true/true.1 index 6f6e60ebccd..ee6a3174e0c 100644 --- a/usr.bin/true/true.1 +++ b/usr.bin/true/true.1 @@ -33,7 +33,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)true.1 6.4 (Berkeley) 6/27/91 -.\" $Id: true.1,v 1.2 1993/08/01 07:27:26 mycroft Exp $ +.\" $Id: true.1,v 1.3 1993/08/28 03:45:10 jtc Exp $ .\" .Dd June 27, 1991 .Dt TRUE 1 @@ -44,20 +44,15 @@ .Sh SYNOPSIS .Nm true .Sh DESCRIPTION -.Nm True -is normally used in a Bourne shell script. -.Nm True -tests for the appropriate status "false" before running -(or failing to run) a list of commands. +The +.Nm true +utility always returns with exit code zero. .Sh SEE ALSO .Xr csh 1 , .Xr sh 1 , .Xr false 1 -.Sh DIAGNOSTICS -The -.Nm true -utility always returns with exit code zero. .Sh STANDARDS The .Nm true -function is expected to be POSIX 1003.2 compatible. +utility conforms to +.St -p1003.2-92 . |
