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?


"Chris January" <chris@atomice.net> 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.

Peter

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