Commit | Line | Data |
---|---|---|
8a3c121a | 1 | .\" @(#)true.1 6.1 (Berkeley) %G% |
6d52893f | 2 | .\" |
8a3c121a | 3 | .TH TRUE 1 "" |
6d52893f KM |
4 | .AT 3 |
5 | .SH NAME | |
6 | true, false \- provide truth values | |
7 | .SH SYNOPSIS | |
8 | .B true | |
9 | .PP | |
10 | .B false | |
11 | .SH DESCRIPTION | |
12 | .I True | |
3789e5f1 KM |
13 | and |
14 | .I false | |
15 | are usually used in a Bourne shell script. | |
16 | They test for the appropriate status "true" or "false" before running | |
17 | (or failing to run) a list of commands. | |
18 | .SH EXAMPLE | |
19 | .IP | |
20 | .nf | |
21 | while true | |
22 | do | |
23 | command list | |
24 | done | |
6d52893f | 25 | .SH "SEE ALSO" |
3789e5f1 KM |
26 | csh(1), |
27 | sh(1), | |
28 | false(1) | |
6d52893f | 29 | .SH DIAGNOSTICS |
3789e5f1 KM |
30 | .I True |
31 | has exit status zero. |