execline
Software
www.skarnet.org

The ifte program

ifte performs a conditional alternative.

Interface

     ifte [ -X ] [ -n ] ~progthen... ; ~progelse... ; progif...

or in a 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".