manual page distributed with 4.1BSD
[unix-history] / usr / src / usr.bin / true / true.1
.\" @(#)true.1 4.1 (Berkeley) %G%
.\"
.TH TRUE 1
.AT 3
.SH NAME
true, false \- provide truth values
.SH SYNOPSIS
.B true
.PP
.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
.SH "SEE ALSO"
sh(1)
.SH DIAGNOSTICS
.I True
has exit status zero,
.I false
nonzero.