From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7053 invoked by alias); 13 Feb 2002 01:54:00 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 6986 invoked from network); 13 Feb 2002 01:53:58 -0000 Received: from unknown (HELO lacrosse.corp.redhat.com) (12.107.208.154) by sources.redhat.com with SMTP; 13 Feb 2002 01:53:58 -0000 Received: from cgf.cipe.redhat.com (dhcpd80.meridian.redhat.com [172.16.47.80]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g1D1rvd04097 for ; Tue, 12 Feb 2002 20:53:57 -0500 Received: (from cgf@localhost) by cgf.cipe.redhat.com (8.11.6/8.8.7) id g1D1s0R20263 for cygwin@cygwin.com; Tue, 12 Feb 2002 20:54:00 -0500 Date: Tue, 12 Feb 2002 17:54:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: /usr/bin/env - Incorrect parsing of #! line? Message-ID: <20020213015400.GI28002@redhat.com> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <00a201c1b430$5217b5c0$6600a8c0@cherry> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00a201c1b430$5217b5c0$6600a8c0@cherry> User-Agent: Mutt/1.3.23.1i X-SW-Source: 2002-02/txt/msg00632.txt.bz2 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/