delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/01/01:57:29

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=IiGbVpOthC36N94xeFVdDSI1LAhwjRTO67CcoTMUa8u
Pxgk25huUInw7cXJavBXKgEQsJs6aMoInvqouTTld/SlJ8hOab9dVTN4QX83rj41
bqeSRSi8fDrT/h/bBb0nwkSBKPCnkMCKRv/N+GGwY+Gzj7sneNFSsquQBx+sSq5Y
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=rYrjuATBdMaaDR2hJjF7YorBJOM=; b=XICB4UYERsD7HCDaT
qPbe0+rvdb0WmbCtdkzuSr3m3fj2xLXXJj/65CKpfjZL9dvoes1Rcr7l3vDKI25a
aGCZPLxXOk7CTdCRaWb8ZJNom6Cpj5/klYw9h5IuomQykz8ErsgIZyXqFkGnWpqf
vWZfJ5mYMm8v8OwdDnhLmLbBxg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: Ishtar.tlinx.org
Message-ID: <5361E22D.40408@tlinx.org>
Date: Wed, 30 Apr 2014 22:57:01 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin-bash compat/regression bug... startup line prob
References: <535EBD61 DOT 5080109 AT tlinx DOT org> <535EC59E DOT 9080602 AT redhat DOT com>
In-Reply-To: <535EC59E.9080602@redhat.com>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019