date and time created 89/03/05 21:18:53 by bostic
[unix-history] / usr / src / usr.bin / true / true.1
CommitLineData
8a3c121a 1.\" @(#)true.1 6.1 (Berkeley) %G%
6d52893f 2.\"
8a3c121a 3.TH TRUE 1 ""
6d52893f
KM
4.AT 3
5.SH NAME
6true, false \- provide truth values
7.SH SYNOPSIS
8.B true
9.PP
10.B false
11.SH DESCRIPTION
12.I True
3789e5f1
KM
13and
14.I false
15are usually used in a Bourne shell script.
16They test for the appropriate status "true" or "false" before running
17(or failing to run) a list of commands.
18.SH EXAMPLE
19.IP
20.nf
21 while true
22 do
23 command list
24 done
6d52893f 25.SH "SEE ALSO"
3789e5f1
KM
26csh(1),
27sh(1),
28false(1)
6d52893f 29.SH DIAGNOSTICS
3789e5f1
KM
30.I True
31has exit status zero.