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
case(1) - sunos
if(1) - sunos
repeat(1) - sunos
switch(1) - sunos
until(1) - sunos
Similar Topics in the Unix Linux Community
CDE
why isn't the exit status true?
Remove a folder after a 'true' uninstall....
True random numbers in Sol10
Find string1, when true find string2 in reverse direction