This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /usr/bin/env - Incorrect parsing of #! line?


> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]