unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-4.1.3)
Page:
Section:
Apropos / Subsearch:
optional field

TRUE(1)                     General Commands Manual                    TRUE(1)



NAME
       true, false - provide truth values

SYNOPSIS
       true

       false

DESCRIPTION
       true  and  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.

EXAMPLE
       The  following Bourne shell script will be executed while the case sta-
       tus is "true".
              while true
              do
                     command list
              done

SEE ALSO
       csh(1), sh(1)

EXIT STATUS
       true has exit status 0.

       false has exit status 1.



                               9 September 1987                        TRUE(1)