BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / false.0
FALSE(1) UNIX Programmer's Manual FALSE(1)
N\bNA\bAM\bME\bE
false, true - provide truth values
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
t\btr\bru\bue\be
f\bfa\bal\bls\bse\be
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bT_\br_\bu_\be and _\bf_\ba_\bl_\bs_\be 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.
E\bEX\bXA\bAM\bMP\bPL\bLE\bE
while false
do
command list
done
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
csh(1), sh(1), true(1)
D\bDI\bIA\bAG\bGN\bNO\bOS\bST\bTI\bIC\bCS\bS
_\bF_\ba_\bl_\bs_\be has exit status nonzero.
Printed 7/9/88 April 29, 1985 1