From a6557dcb044363f083c24f498e5885c1c3f70ca9 Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Wed, 21 Jun 2006 12:01:52 +0000 Subject: [PATCH] Document the fact that 'true' and 'false' are among sh(1) built-in commands. MFC after: 3 days --- bin/sh/sh.1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 438fc246d8e..13d3517345a 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