Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ true.bsd(1) — Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

csh(1)

sh(1)

TRUE(1)

NAME

true, false − provide truth values

USAGE

false

true

DESCRIPTION

True and false are usually used in a Bourne shell script to test for the appropriate status (true or false) before running (or not running) a list of commands. 

EXAMPLE

     #! /bin/sh
     while false
     do
          command list
     done

DIAGNOSTICS

False has an exit status of non-zero. 

RELATED INFORMATION

csh(1), sh(1). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026