execline
Software
www.skarnet.org

The ifthenelse program

ifthenelse performs a conditional alternative.

Interface

     ifthenelse [ -X ] [ -s ] ~progif... ; ~progthen... ; ~progelse... ; prog...

or in a execlineb script:

     ifthenelse [ -X ] [ -s ] { progif... } { progthen... } { progelse... } prog...

Options