execline
Software
www.skarnet.org

The ifelse program

ifelse performs conditional execution, with two branches.

Interface

     ifelse [ -X ] [ -n ] ~prog1... ; ~prog2... ; prog3...

or in an execlineb script:

     ifelse [ -X ] [ -n ] { prog1... } { prog2... } prog3...

Options

Notes