From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8999 invoked by alias); 22 Feb 2002 11:39:16 -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 8914 invoked from network); 22 Feb 2002 11:39:14 -0000 Received: from unknown (HELO smtp.mscha.org) (212.238.192.16) by sources.redhat.com with SMTP; 22 Feb 2002 11:39:14 -0000 Received: from RATBERT.mscha.org (ratbert.local.mscha.org [192.168.0.52]) (authenticated) by smtp.mscha.org (8.11.3/8.11.3) with ESMTP id g1MBcpX31462; Fri, 22 Feb 2002 12:38:51 +0100 Message-Id: <5.1.0.14.2.20020222123545.03dadeb0@imap.local.mscha.org> X-Sender: ml@imap.local.mscha.org (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 22 Feb 2002 04:34:00 -0000 To: pjacklam , cygwin@cygwin.com From: Michael Schaap Subject: Re: /usr/bin/env - Incorrect parsing of #! line? In-Reply-To: <3C765D91@epostleser.online.no> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-SW-Source: 2002-02/txt/msg01100.txt.bz2 At 09:53 22-2-2002, pjacklam wrote: >I know, but cygwin respects shebang lines (e.g., a text >file in the path starting with the line "#!/bin/gawk" >will really be run by gawk), so I'm sure there is a way >to get this working right. I just haven't found it yet. Well, someone(*) posted a solution that should work for you: Create a wrapper script, e.g. '/usr/local/bin/perl -w', with contents #!/bin/sh perl -w $* - Michael (*): Sorry, don't remember who suggested this. And this thread has become _way_ too long to find it back... -- I always wondered about the meaning of life. So I looked it up in the dictionary under "L" and there it was - the meaning of life. It was not what I expected. - Dogbert -- 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/