On 12 November 2012 13:52, Paul Smith <p...@mad-scientist.net> wrote:
> On Mon, 2012-11-12 at 13:11 -0500, Eitan Adler wrote:
>> #!/bin/sh  which is mandated to exist by POSIX
> Actually, unless there's been a change, POSIX doesn't mandate that the
> POSIX shell appear as /bin/sh.

Okay. Taking a deeper look here, I'm wrong. That said, #!/bin/sh is
certainly still more portable than #!/bin/bash and the latter is still
a portability bug.

> Unfortunately, this means that systems are free to provide definitively
> non-POSIX /bin/sh and still be allowed to paint themselves with the
> veneer of compliance (yes I'm looking at you Solaris!!), since there is
> a POSIX shell somewhere (else) on the system.

Yes, this can happen. :(

Eitan Adler
ccache mailing list

Reply via email to