This is the mail archive of the
mailing list for the Cygwin project.
Re: /usr/bin/env - Incorrect parsing of #! line?
"Chris January" <email@example.com> wrote:
> Peter J. Acklam wrote:
> > [...] on Cygwin I get
> > /usr/bin/env: perl -w: No such file or directory
> > why does Cygwin look for the file "perl -w". No UNIX I have
> > worked on would parse the shebang line that way.
> Linux parses things this way too. I don't know what "UNIX"'s
> this works on. (Sun, HP?)
I have worked with many UNIXes, but now that I think about it, I
have probably only used the line "#!/usr/bin/env perl -w" on
Solaris. However, it works on solaris 2.3, 2.5, 7, and 8.
People say I'm indifferent, but I don't care.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html