delorie.com/archives/browse.cgi | search |
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: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
Cc: | pjacklam AT online DOT no (Peter J. Acklam), cygwin AT cygwin DOT com |
Subject: | Re: /usr/bin/env - Incorrect parsing of #! line? |
References: | <20020213015400 DOT GI28002 AT redhat DOT com> |
<00a201c1b430$5217b5c0$6600a8c0 AT cherry> | |
<20020213015400 DOT GI28002 AT redhat DOT com> | |
<4 DOT 3 DOT 1 DOT 2 DOT 20020220155727 DOT 02161d00 AT pop DOT ma DOT ultranet DOT com> | |
Organization: | Private |
From: | pjacklam AT online DOT no (Peter J. Acklam) |
Date: | Thu, 21 Feb 2002 21:37:30 +0100 |
In-Reply-To: | <4.3.1.2.20020220155727.02161d00@pop.ma.ultranet.com> ("Larry |
Hall's message of "Wed, 20 Feb 2002 15:59:37 -0500") | |
Message-ID: | <4rka371x.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: | 29 |
"Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> wrote: > 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. What made me believe that "#!/usr/bin/env perl -w" should work was the following part of the documentation for env: NAME env - run a program in a modified environment SYNOPSIS env [OPTION]... [-] [NAME=VALUE]... [COMMAND [ARG]...] It clearly says that the command (COMMAND) takes arguments (ARG). Indeed it does on the command line, but not on the shebang line. > You should contact it's maintainer and since it appears to be a > general issue, you should contact the GNU maintainer, not the > Cygwin. I'm not sure what to do, if anything, since this behaviour seems to be so common. For all I know, someone might count on it. 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |