End an if conditional block.

Synopsis

if CONDITION; then COMMANDS; fi

Description

fi terminates an if/elif/else conditional construct. It is not used standalone. Runs in the just-bash WASM shell inside SLICC.

Examples

$ if [ -d /tmp ]; then echo "exists"; fi

Complete if block with fi.

See Also

if, then, else, elif