delorie.com/archives/browse.cgi | search |
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 |
X-WebMail-UserID: | pjacklam AT online DOT no |
Date: | Fri, 22 Feb 2002 14:21:27 +0100 |
From: | pjacklam <pjacklam AT online DOT no> |
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 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |