Commit | Line | Data |
---|---|---|
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 | |
10 | false, true \- provide truth values | |
11 | .SH SYNOPSIS | |
12 | .B true | |
13 | .PP | |
14 | .B false | |
15 | .SH DESCRIPTION | |
16 | .I True | |
17 | and | |
18 | .I false | |
19 | are usually used in a Bourne shell script. | |
20 | They 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" | |
30 | csh(1), | |
31 | sh(1), | |
32 | true(1) | |
33 | .SH DIAGNOSTICS | |
34 | .I False | |
35 | has exit status nonzero. |