Hi!
There's a thread on the guinness list about sh/bash/bash2 and I
just wanted to tell you my $0.02 of this /bin/sh vs. bash1/bash2 story.
IMHO, it would be a very good idea to have a 100% posix-compliant
/bin/sh without any extensions. /bin/sh should *not* be symlinked
to /bin/bash.
The reason why I think that this would be a good idea is basically
portability. People writing a #!/bin/sh shell script on a machine
where /bin/sh is in fact a bash2 (rhl7) will most likely use bash2
extensions that will most likely fail on machines where /bin/sh
is either bash1 (rhl-6.x) or a true bourne shell (e.g. solaris).
AFAIK, there are a couple of good free bourne shells that have the
true posix compatibility and nothing more. I'm talking about ash(1)
and others.
Cheers
Thilo
--
[EMAIL PROTECTED]
e-business manager innominate AG
the linux architects
tel: +49-30-308806-0 fax: -77 www.innominate.com
--
[EMAIL PROTECTED]
e-business manager innominate AG
the linux architects
tel: +49-30-308806-0 fax: -77 www.innominate.com
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list