This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin-bash compat/regression bug... startup line prob
- From: Linda Walsh <cygwin at tlinx dot org>
- To: cygwin at cygwin dot com
- Date: Wed, 30 Apr 2014 22:57:01 -0700
- Subject: Re: cygwin-bash compat/regression bug... startup line prob
- Authentication-results: sourceware.org; auth=none
- References: <535EBD61 dot 5080109 at tlinx dot org> <535EC59E dot 9080602 at redhat dot com>
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