From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4656 invoked by alias); 22 Feb 2002 13:21:30 -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 4546 invoked from network); 22 Feb 2002 13:21:28 -0000 Received: from unknown (HELO mail48.fg.online.no) (148.122.161.48) by sources.redhat.com with SMTP; 22 Feb 2002 13:21:28 -0000 Received: from epostleser.online.no (epostleser12.frisurf.no [148.122.3.20]) by mail48.fg.online.no (8.9.3/8.9.3) with ESMTP id OAA16324 for ; Fri, 22 Feb 2002 14:21:27 +0100 (MET) X-WebMail-UserID: pjacklam@online.no Date: Fri, 22 Feb 2002 05:26:00 -0000 From: pjacklam To: cygwin@cygwin.com X-EXP32-SerialNo: 50000140 Subject: Re: /usr/bin/env - Incorrect parsing of #! line? Message-ID: <3C77F44E@epostleser.online.no> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: InterChange (Hydra) SMTP v3.62 X-SW-Source: 2002-02/txt/msg01105.txt.bz2 > Create a wrapper script, e.g. '/usr/local/bin/perl -w', with > contents > > #!/bin/sh > perl -w $* Firstly, I would need to do that on every computer I might run Perl on, which in itself is harly possible. At the very least it is rather impractical. Secondly, I run Perl with many different combinations of options, like "perl -w", "perl -wn", "perl -0777 -wn", etc. which makes that approach even far less feasible. By the way, you did mean "$@" and not $*, didn't you? :-) Peter -- Peter J. Acklam - pjacklam@online.no - http://home.online.no/~pjacklam -- 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/