delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/12/22:11:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <00b901c1b43b$ea06d130$6600a8c0@cherry>
From: "David Gluss" <dgluss AT marple-tech DOT com>
To: <cygwin AT cygwin DOT com>
References: <00a201c1b430$5217b5c0$6600a8c0 AT cherry> <20020213015400 DOT GI28002 AT redhat DOT com>
Subject: Re: /usr/bin/env - Incorrect parsing of #! line?
Date: Tue, 12 Feb 2002 18:48:05 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Hmm.  You're right about that.  In that case I will do nothing.
Of course I've always objected to that behavior...but so it is.
DG
----- Original Message ----- 
From: "Christopher Faylor" <cgf AT redhat DOT com>
To: <cygwin AT cygwin DOT com>
Sent: Tuesday, February 12, 2002 5:54 PM
Subject: Re: /usr/bin/env - Incorrect parsing of #! line?


> On Tue, Feb 12, 2002 at 05:31:03PM -0800, David Gluss wrote:
> >The problem looks to be that bash "helps out" the system by executing
> >scripts beginning with #!.  In the source for bash, look in
> >execute_cmd.c, line 3369.  Only one argument is allowed.  So e.g.
> >#!/usr/bin/env perl -w becomes "/usr/bin/env" "perl -w" If I make a
> >patch for this, should it go to the cygwin list?  Should it just go to
> >gnu.bash.bug and leave it at that?
> 
> I think you're misinterpreting the problem.  If it works the same way
> on linux and on cygwin, then there is nothing to fix.
> 
> cgf
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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