file reorg, pathnames.h, paths.h
[unix-history] / usr / src / usr.bin / false / false.1
.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" @(#)false.1 6.1 (Berkeley) %G%
.\"
.TH FALSE 1 ""
.UC 5
.SH NAME
false, true \- provide truth values
.SH SYNOPSIS
.B true
.PP
.B false
.SH DESCRIPTION
.I True
and
.I false
are usually used in a Bourne shell script.
They test for the appropriate status "true" or "false" before running
(or failing to run) a list of commands.
.SH EXAMPLE
.IP
.nf
while false
do
command list
done
.SH "SEE ALSO"
csh(1),
sh(1),
true(1)
.SH DIAGNOSTICS
.I False
has exit status nonzero.