delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/20/16:01:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: /usr/bin/env - Incorrect parsing of #! line?
References: <8z9y4kbm DOT fsf AT online DOT no> <007301c1b418$ec8aaad0$0100a8c0 AT advent02>
Organization: Private
From: pjacklam AT online DOT no (Peter J. Acklam)
Date: Wed, 20 Feb 2002 21:28:46 +0100
In-Reply-To: <007301c1b418$ec8aaad0$0100a8c0@advent02> ("Chris January"'s
message of "Tue, 12 Feb 2002 22:59:26 -0000")
Message-ID: <y9hn524h.fsf@online.no>
User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1
(i386-msvc-nt5.0.2195)
MIME-Version: 1.0
Lines: 22

"Chris January" <chris AT atomice DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019