true(1) hpux man page | unix.com

Man Page: true

Operating Environment: hpux

Section: 1

true(1) 						      General Commands Manual							   true(1)

NAME
true, false - return exit status zero or one respectively
SYNOPSIS
DESCRIPTION
The command does nothing, and returns exit code zero. The command does nothing, and returns exit code one. They are typically used to construct command procedures.
RETURN VALUE
Exit values are: always from true. always from false.
EXAMPLES
This command loop repeats without end:
WARNINGS
is typically used in shell scripts. Some shells provide a built-in version of (and that is more efficient than the standalone versions.
SEE ALSO
csh(1), ksh(1), sh(1), sh-posix(1).
STANDARDS CONFORMANCE
true(1)
Related Man Pages
select(1) - sunos
true(1) - osf1
for(1) - sunos
foreach(1) - sunos
switch(1) - sunos
Similar Topics in the Unix Linux Community
why isn't the exit status true?
Funny but true....
True or false ? - Sun cluster 3.2 U3 questions...
awk If expression - Return string if not true
How to replace the field values, which are greater than the specified value with TRUE?