Jacob MeuserTue Mar 15 20:16:40 PST 2005
On Tue, Mar 15, 2005 at 05:18:51PM -0800, Hal Pomeranz wrote: > > So I think it does travel. Just not to the original Bourne shell. > > And the advantage of readability and recursion seem rather > > compelling to me. > > Generally I agree with Allen here. The one thing I will say is that > if you stick with pure Bourne shell syntax then your #!/bin/sh scripts > will work no matter what Unix you take them to without any editing. > If you go with bash/ksh syntax you'll at least spend some time figuring > out where bash/ksh live on each new platform you go to. Not a huge > deal, but a minor annoyance. to me, it is a major annoyance when people write bash scripts that start with !#/bin/sh. it's OK to use bash extensions, just be sure to mark scripts as such. -- <jakemsr at jakemsr.com>