/usr/bin/env - Incorrect parsing of #! line?
Larry Hall (RFK Partners, Inc)
lhall@rfk.com
Wed Feb 20 13:37:00 GMT 2002
At 03:35 PM 2/20/2002, Peter J. Acklam wrote:
>Christopher Faylor <cgf@redhat.com> wrote:
>
> > If it works the same way on linux and on cygwin, then there is
> > nothing to fix.
>
>Ok. But where is this documented?
>
>I expected "#!/usr/bin/env perl -w" to work because I thought the
>line would be interpreted as on the command line (shell) and as is
>documented in the manual page for env. Since the behaviour is
>different when the line is in the shebang line, it has to be
>documented somewhere.
Well if env documentation states a particular behavior and that behavior is
not what you see, then there is a bug in env or it's documentation. You
should contact it's maintainer and since it appears to be a general issue,
you should contact the GNU maintainer, not the Cygwin.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
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/
More information about the Cygwin
mailing list