bug-bash
[Top][All Lists]
Advanced

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

Re: bash exit command should be unconditional


From: Matias A. Fonzo
Subject: Re: bash exit command should be unconditional
Date: Thu, 8 Apr 2010 10:11:46 -0300 (ART)
User-agent: SquirrelMail/1.4.15

If I am right when you invoke bash as "/bin/sh" (/bin/sh -> bash). Bash
runs in POSIX mode.

> I certainly have chosen the subject wrong, but I don't want to start a new
> thread now. Please let me backpedal a bit and describe the problem I am
> trying to solve.
>
> A company I work for is trying to migrate their applications to Linux
> platform and have selected RedHat as the vendor. Redhat installs bash as
> the standard shell :
> $ ls -l /bin/sh
> lrwxrwxrwx 1 root root 4 Jul  7  2009 /bin/sh -> bash
>
> Now, because of the feature in question, scripts that utilize standard
> /bin/sh don't work properly. I afraid my suggestion to go "read the FAQ"
> with my accent some might hear as a profanity :)
>
> So the question is, is it possible to run bash in "compatible" mode? Maybe
> some flags during compilation were omitted by vendor?
> I can recompile the bash, auditing and rewriting all the scripts is just
> not feasible.
>
> Thank you,
> Vadym Chepkov
>
>
>
>
>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]