projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
document distributed with 4.3BSD
[unix-history]
/
usr
/
src
/
usr.bin
/
true
/
true.1
.\" @(#)true.1 6.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
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"
csh(1),
sh(1),
false(1)
.SH DIAGNOSTICS
.I True
has exit status zero.