Re: sh replaced by bash?

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

 



Once upon a time, Cameron Simpson <cs@xxxxxxxxxx> said:
> But note that on a RedHat system the authors of the startup scripts "know"
> that /bin/sh is a bash, and liberally use all sorts of bashisms in their
> scripts, making them nonportable (and therefore prone to failure if you
> replace sh with something that's not bash).

No, the authors of the startup scripts (at least the startup scripts
included in Red Hat Linux) that use bashisms have their script call
/bin/bash, so if you wanted to make /bin/sh something else, it should be
fine (as long as it really understands the full POSIX syntax; that is
expected of /bin/sh).

-- 
Chris Adams <cmadams@xxxxxxxxxx>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux