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.