This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: /usr/bin/env - Incorrect parsing of #! line?
- From: Heribert Dahms <heribert_dahms at icon-scm dot com>
- To: "'Lassi A. Tuura'" <lassi dot tuura at cern dot ch>, cygwin at cygwin dot com
- Cc: "'pjacklam at online dot no'" <pjacklam at online dot no>
- Date: Wed, 13 Feb 2002 23:16:51 +0100
- Subject: RE: /usr/bin/env - Incorrect parsing of #! line?
Hi,
another generic way would be a shell wrapper named "perl -w"
somewhere in the PATH e.g. /usr/local/bin,
so Peter wouldn't need to change a lot of scripts.
Bye, Heribert (heribert_dahms@icon-scm.com)
> -----Original Message-----
> From: Lassi A. Tuura [SMTP:lassi.tuura@cern.ch]
> Sent: Wednesday, February 13, 2002 20:15
> To: cygwin@cygwin.com
> Subject: Re: /usr/bin/env - Incorrect parsing of #! line?
>
> > Find some other way to accomplish what you need to do.
>
> #!/usr/bin/env perl
> BEGIN { $^W = 1; }
>
> $foo = 0;
>
> //lat
> --
> No matter how hard you try, you can't make a baby in much less than
> 9 months. Trying to speed this up *might* make it slower, but it
> won't make it happen any quicker.
> --RFC1925, "The Twelve Networking Truths"
>
--
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/