On Fri, Oct 11, 2002 at 10:08:34AM -0400, Nathan Hawkins wrote:
> Matthew Garrett wrote:
>> In chiark.mail.debian.devel, you wrote:
>> No, NetBSD passes a single argument. It's just that it passes "-f "
>> rather than "-f", and make treats these differently. Your "bar baz"
>> example will behave in the same way on NetBSD. Now, can anyone find a
>> reference that suggests that NetBSD is wrong to do this? If not, I'm not
>> happy about trying to get NetBSD upstream to accept the change.
> Hmm. Two things to do here:
> 1. Check Posix and SUSv2. It would be interesting to see what, if
> anything, they say about this.
[...]
I've tried to check SUSv3, I could not find anything better than
http://www.opengroup.org/onlinepubs/007904975/functions/exec.html
| Another way that some historical implementations handle shell scripts
| is by recognizing the first two bytes of the file as the character
| string "#!" and using the remainder of the first line of the file as
| the name of the command interpreter to execute.
cu andreas