execline
Software
skarnet.org

The ifte program

ifte performs a conditional alternative.

Interface

In an execlineb script:

     ifte [ -X ] [ -n ] { progthen... } { progelse... } progif...

Options

Notes

ifte is a simpler version of ifthenelse. It performs only conditional execution, not instruction sequence.

"ifthenelse { progif } { progthen } { progelse } remainder" is the equivalent of "foreground { ifte { progthen } { progelse } progif } remainder".