Version 4.0 readme
[unix-history] / usr / src / usr.bin / false / false.1
CommitLineData
ed68ddb1
KM
1.\" Copyright (c) 1983 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
bbfa0197 5.\" @(#)false.1 6.1 (Berkeley) %G%
ed68ddb1 6.\"
bbfa0197 7.TH FALSE 1 ""
ed68ddb1
KM
8.UC 5
9.SH NAME
10false, true \- provide truth values
11.SH SYNOPSIS
12.B true
13.PP
14.B false
15.SH DESCRIPTION
16.I True
17and
18.I false
19are usually used in a Bourne shell script.
20They test for the appropriate status "true" or "false" before running
21(or failing to run) a list of commands.
22.SH EXAMPLE
23.IP
24.nf
25 while false
26 do
27 command list
28 done
29.SH "SEE ALSO"
30csh(1),
31sh(1),
32true(1)
33.SH DIAGNOSTICS
34.I False
35has exit status nonzero.