From: Shelagh M. <on...@tp...> - 2007-04-29 21:31:07
|
On Sun, 29 Apr 2007 11:21:42 -0400, D. Michael McIntyre wrote: > On Sunday 29 April 2007 9:23 am, Alexandre Prokoudine wrote: >> Ahem, but I do have bash installed here (Ubuntu Feisty Fawn) :) > > But the script was set up to use /bin/sh as the interpreter. On most > systems, that's symlinked to /bin/bash, but maybe either it was pointing > somewhere else on your system, or your version of bash has some new mode > where it behaves more like sh when invoked as sh or something. No > telling. Pedro's fix was a good solution. It's always better to be > specific, instead of relying on finding expected default environments. I heard a rumor that in feisty, they made the default sh point to dash for some reason. It's supposed to be quicker for startup scripts as it's posix compatible. But I haven't really explored that rumor. (Who would have guessed two years ago that I'd have been throwing around terms such as posix and even having a clue what they mean!) Shelagh |