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

Re: Changing the default simlink to sh [was: Password file with over 3000 users.]

Matus UHLAR - fantomas wrote:
On 26.09.07 15:28, Nate Duehr wrote:
Why can't you put your chosen sh shell in your shebang, just like you're asking others to be forced to do?
he does - he uses /bin/sh. But some linux lamers (unluckily this means many
of linux distributions) install bash as /bin/sh which is incompatible.

On 27.09.07 03:01, Nate Duehr wrote:
He can call the SPECIFIC shell he wants, and not use /bin/sh.

the /bin/sh is SPECIFIC. It's standard bourne shell, which bash is not 100%
compatible with.

Could you be more specific?

BTW bash called as "sh" behave differently as if it is called as "bash".

But I see in Austin group (POSIX standardization), that there are changes
in both directions:
bash try to be more compatible to POSIX (when they found differences)
and POSIX try to be more like bash when bash behavior is better.

Anyway, bash has extensions, but this doesn't mean that it is not


Reply to: