summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-06-21 12:01:52 +0000
committeryar <yar@FreeBSD.org>2006-06-21 12:01:52 +0000
commit642780c004cfff4e1209e56ef408282322ff3904 (patch)
treecccf2c0e49d918b3a45e2393927d4ed80c0b6773 /bin
parent0e343922c8a0da5cabc9aa447928240b65140626 (diff)
downloadFreeBSD-src-642780c004cfff4e1209e56ef408282322ff3904.zip
FreeBSD-src-642780c004cfff4e1209e56ef408282322ff3904.tar.gz
Document the fact that 'true' and 'false' are among sh(1) built-in commands.
MFC after: 3 days
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/sh.16
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index 438fc24..13d3517 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -32,7 +32,7 @@
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
.\" $FreeBSD$
.\"
-.Dd June 15, 2006
+.Dd June 21, 2006
.Dt SH 1
.Os
.Sh NAME
@@ -1619,6 +1619,8 @@ If the
option is specified, the exported variables are printed as
.Dq Ic export Ar name Ns = Ns Ar value
lines, suitable for re-input to the shell.
+.It Ic false
+A null command that returns a non-zero (false) exit value.
.It Ic fc Oo Fl e Ar editor Oc Op Ar first Op Ar last
.It Ic fc Fl l Oo Fl nr Oc Op Ar first Op Ar last
.It Ic fc Fl s Oo Ar old Ns = Ns Ar new Oc Op Ar first
@@ -1996,6 +1998,8 @@ Option
causes the
.Ic trap
command to display a list of valid signal names.
+.It Ic true
+A null command that returns a 0 (true) exit value.
.It Ic type Op Ar name ...
Interpret each
.Ar name
OpenPOWER on IntegriCloud