On Sun, Mar 09, 2008 at 04:43:01PM -0400, Roberto C. S?nchez
wrote:> In response to Debian bugs #468698 [0] and #468699 [1], I have created
> two patches (one each against trunk and branches/4.0). These take care
> of some non-POSIX compliant syntax in files that declare /bin/sh as
> their interpreter.
On general principle, Debian''s always been quite silly on this
particular point. There are no known practical implementations of a
POSIX shell; a few people in the project are mindlessly trying to
project conformance with an arbitrary and frankly quite irrelevant
document, simply because it has "POSIX" in the title. It is the same
document that mandates the existence of programs like qselect and pax,
which you are unlikely to find on any linux system. I don''t think
anybody else really cares about it. It is not the document that was
known as "the" POSIX in the 1990s. It is a new creation of the same
committee (only the committee now has different members).
There''s no real harm in changing the code to conform to a document
that has been urinated on by IEEE, but I wouldn''t go out of your way
for it.
> If not, we should
> consider changing the affected files to use /bin/bash or /bin/dash as
> their declared interpreter.
You should probably consider doing that anyway. /bin/sh could be any
kind of funky weird broken thing. Bourne-like shells are, sadly, not
very consistent with each other.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/