NetBSD-Bugs archive

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

Re: bin/45430: ash uses argv[0] as $0 for scripts without #!



On 11/07/2011 10:35 PM, Roland C. Dowdeswell wrote:
This is quite old but I can reproduce the issue with NetBSD's /bin/sh,
but only if your script is executed by the shell rather than the kernel.
I.e. if the shell script does not begin with #!/bin/sh.

Thank you. Yes, this is what was stated in the original bug report (the
first message), albeit not so clearly.

Sincerely,
Nick


Home | Main Index | Thread Index | Old Index