execline
Software
www.skarnet.org

The ifthenelse program

ifthenelse performs a conditional alternative.

Interface

     ifthenelse [ -s ] ~progif... ; ~progthen... ; ~progelse... ; prog...
or in a execlineb script:
     ifthenelse [ -s ] { progif... } { progthen... } { progelse... } prog...

Options