This is the mail archive of the
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:
Um... it doesn't work with 1 argument either.
On 04/28/2014 02:43 PM, Linda Walsh wrote:
>> cat bin/t.sh
> #!/bin/bash -u
Historically?.. since when? Never encountered that problem on linux
This is an invalid shebang line. Historically, you are allowed at most
ONE argument to the program that you will be executing.
nor on cygwin. This isn't a case of 2 args, just the "-u" by itself
> 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
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple