Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash scripting across linux and solaris



On Fri, Aug 28, 2009 at 11:45 AM, David Hummel<lemmuh-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> On Fri, Aug 28, 2009 at 10:26 AM, Theodore Ruegsegger<gruntly-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
>>
>> In particular, calling it sh enforces POSIX-compliance.
>
> Not quite. ?Historical versions of the Bourne shell are not
> POSIX-compliant, but bash aims to be (which is the reason Debian
> symlinks sh to bash). ?So if you call bash as sh, it tries to behave
> like sh without breaking POSIX-compliance.
>
> My suggestion would be that if you're on GNU/Linux, write for bash,
> don't be afraid of it. ?It's a far superior shell to traditional
> Bourne...

[For the old-timers....]

I suggest that you write for BSD 4.2 csh on the VAX.  Who needs standards.

Bill Bogstad







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org