On Wed, 2003-03-19 at 23:07, Richard Troth wrote: > On Thu, 20 Mar 2003, John Summerfield wrote: > > Change the first line of a shell script to > > #!/bin/bash -x > > Not if you ever EVER want to run that shell script > on a stock non-Linux UNIX host (Solaris, AIX, HP, ...). > Don't code shell scripts that way, gang.
Actually its a very good idea to do so IFF the script contains bash extensions. At least the poor schmuck debugging it can either install bash or realise the problem then.
