true

do nothing, successfully

KornShell Built-in


SYNOPSIS

true [argument...]


DESCRIPTION

The true command simply yields an exit status of zero (success). It ignores any arguments given on the command line. This can be surprisingly useful, for example, when you are evaluating shell expressions for their side effects.


DIAGNOSTICS

Since this command always succeeds, the only possible exit status is:
0

Successful completion.


PORTABILITY

POSIX.2. x/OPEN Portability Guide 4.0.


NOTE

This command is provided as both an external utility and as a MKS KornShell built-in.


SEE ALSO

Commands:
sh


Updated MKS Toolkit [3khat16.ico]HP3000 [3khat16.ico]3kMail [archive16.gif]