false(C)


false -- return with a non-zero exit value

Syntax

false

Description

false does nothing except return with a non-zero exit value. true(C), false's counterpart, does nothing except return with a zero exit value. false is typically used in shell procedures such as:
   until false
   do
   	command
   done

Exit values

false returns any non-zero value.

See also

sh(C), true(C)

Standards conformance

false is conformant with:

ISO/IEC DIS 9945-2:1992, Information technology - Portable Operating System Interface (POSIX) - Part 2: Shell and Utilities (IEEE Std 1003.2-1992);
AT&T SVID Issue 2;
X/Open CAE Specification, Commands and Utilities, Issue 4, 1992.


© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005