2.9. shell:if, if

Abstract

executes an if/then/else block

Synopsis

shell:if [ --help ] { condition } { ifTrue } [ ifFalse ]

Arguments

Table 2.9, “shell:if Arguments” describes the command's arguments.

Table 2.9. shell:if Arguments

ArgumentInterpretation
--help Displays the online help for this command
conditionBoolean condition.
ifTrueFunction to evaluate, if condition is true.
ifFalseFunction to evaluate, if condition is false.