Shell puzzle 2November 29, 2007 1:41 pm General
Following on from this shell script puzzle here’s another.
Why does the following script give this error?
sh: Illegal option –
(Credit to Kevin Lyda of ILUG for the puzzle and its truly twisted answer).
#! /bin/sh -e -x
#! /bin/sh -e,
#! /bin/sh -x and
#! /bin/sh -ex run without error.