On Feb 7, 2009, at 12:06 PM, Brad wrote:
On Saturday 07 February 2009 04:02:56 Frank Cusack wrote:
Well now, there's lot of code you might see which isn't correct, e.g.
the very common #!/bin/sh but the code is actually a bash script.

Being someone that has to fix this stuff I see A LOT of people improperly writting bash scripts and 99% of the time the bash-isms are not necessary at
all.

Yup, I run across that with some frequency myself. It's pretty annoying. The basic assumption seems to be that /bin/sh is always bash.

In the 1980s, the annoying assumption was "all the world's a VAX". Now, it's "all the world's a PC running Linux".

  *grumble*

             -Dave

--
Dave McGuire
Port Charlotte, FL


Reply via email to