Berkeley specific header
[unix-history] / usr / src / usr.bin / true / true.1
index 306dffd..d4793b5 100644 (file)
@@ -1,6 +1,6 @@
-.\"    @(#)true.1      4.1 (Berkeley) %G%
+.\"    @(#)true.1      6.1 (Berkeley) %G%
 .\"
 .\"
-.TH TRUE 1 
+.TH TRUE 1 ""
 .AT 3
 .SH NAME
 true, false \- provide truth values
 .AT 3
 .SH NAME
 true, false \- provide truth values
@@ -10,24 +10,22 @@ true, false \- provide truth values
 .B false
 .SH DESCRIPTION
 .I True
 .B false
 .SH DESCRIPTION
 .I True
-does nothing, successfully.
-.I False
-does nothing, unsuccessfully.
-They are typically used in input to
-.IR  sh (1)
-such as:
-.PP
-       while true
-.br
-       do
-.br
-               command
-.br
-       done
+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 true 
+     do
+          command list 
+     done
 .SH "SEE ALSO"
 .SH "SEE ALSO"
-sh(1)
+csh(1),
+sh(1),
+false(1)
 .SH DIAGNOSTICS
 .SH DIAGNOSTICS
-.I True
-has exit status zero,
-.I false
-nonzero.
+.I True 
+has exit status zero.