Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-WebMail-UserID: pjacklam AT online DOT no Date: Fri, 22 Feb 2002 14:21:27 +0100 From: pjacklam To: cygwin AT cygwin DOT 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 > 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 AT online DOT 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/