cygwin-bash compat/regression bug... startup line prob

Linda Walsh cygwin@tlinx.org
Thu May 1 05:57:00 GMT 2014


Eric Blake wrote:
> On 04/28/2014 02:43 PM, Linda Walsh wrote:
>> >> cat bin/t.sh
> > #!/bin/bash -u 
Um... it doesn't work with 1 argument either. 
>> This is an invalid shebang line. Historically, you are allowed at most
> ONE argument to the program that you will be executing.
?!? 
Historically?.. since when? Never encountered that problem on linux
nor on cygwin. This isn't a case of 2 args, just the "-u" by itself
doesn't work.
> > Also weird -- the interp line says "/bin/bash" not "/usr/bin/bash"
> > as the shell, so why does the error come from /usr/bin/bash?
>> the answer to this question.
---
???
This isn't clear to me. If I am running /bin/bash, why did the error message
say /usr/bin/bash?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /