BSD 4_1c_2 release
[unix-history] / usr / man / man1 / true.1
CommitLineData
e16dc90a
C
1.TH TRUE 1 "11 January 1982"
2.SH NAME
3true, false \- provide truth values
4.SH SYNOPSIS
5.B true
6.PP
7.B false
8.SH DESCRIPTION
9.I True
10and
11.I false
12are usually used in a Bourne shell script.
13They test for the appropriate status "true" or "false" before running
14(or failing to run) a list of commands.
15.SH EXAMPLE
16.IP
17.nf
18 while true
19 do
20 command list
21 done
22.SH "SEE ALSO"
23csh(1),
24sh(1),
25false(1)
26.SH DIAGNOSTICS
27.I True
28has exit status zero.