bug-bash
[Top][All Lists]
Advanced

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

Re: ignoring current shell and always running posix shell? Re: Should th


From: Linda Walsh
Subject: Re: ignoring current shell and always running posix shell? Re: Should this be this way?
Date: Mon, 11 Mar 2013 15:37:15 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666

Pierre Gaston wrote:
>> ----
>>
>>         It is likely that the document is assuming you are running on
>> a POSIX compliant system where all users use the same shell so there is
>> only 1 shell, thus the use of the word 'the' when referring to the shell.
>>
> Of course, it's the posix specification for the posix shell........
----
        What does that say about bash (in nonposix mode), perl, python,
rbash, etc.... i.e. -- the case that I ran into was NOT me running in posix
mode.

        It would make no sense for posix to take the stance that any
unknown script without a shebang at the top, presented to any interpreter shell
be ignored by the interpreter and instead shall be run under /bin/sh.

        Posix used to claim they were "descriptive", not "prescriptive", though
they are becoming more of the latter with each new update, I'd find it hard to
think they'd try to enforce all script languages to default sources to /bin/sh.








reply via email to

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