true, false, i386, u370, i370, xa370(1,C) true, false(1,C)
-------------------------------------------------------------------------------
true, false, i386, u370, i370, xa370
PURPOSE
Returns an exit value of zero (true) or non-zero (false).
SYNTAX
true ---| i370 ---|
false ---| xa370 ---|
i386 ---|
u370 ---|
DESCRIPTION
The true command returns a zero exit value. The false command returns a
nonzero value. These commands are usually used in input to the sh command.
The following commands are links to either true or false depending on the
machine type on which they are executed.
i386 The i386 command returns true if executed on an AIX PS/2 machine and
false if executed on an AIX/370 machine.
u370 The u370 command returns true if executed on an AIX/370 machine and
false if executed on an AIX PS/2 machine.
i370 True, if executed on a non-XA AIX/370 machine, false otherwise.
xa370 True, if executed on a XA AIX/370 machine, false otherwise.
EXAMPLE
To construct an infinite loop in a shell procedure:
while true
do
date
sleep 60
done
This shell procedure displays the date and time once a minute. To stop it,
press INTERRUPT (Ctrl-C).
Processed Nov.8, 1990 true, false, i386, u370, i370, xa370(1,C) 1
true, false, i386, u370, i370, xa370(1,C) true, false(1,C)
RELATED INFORMATION
See the following command: "sh, Rsh."
Processed Nov.8, 1990 true, false, i386, u370, i370, xa370(1,C) 2