Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.1.2.20020220155727.02161d00@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Wed, 20 Feb 2002 15:59:37 -0500 To: pjacklam AT online DOT no (Peter J. Acklam), cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: /usr/bin/env - Incorrect parsing of #! line? In-Reply-To: References: <20020213015400 DOT GI28002 AT redhat DOT com> <00a201c1b430$5217b5c0$6600a8c0 AT cherry> <20020213015400 DOT GI28002 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 03:35 PM 2/20/2002, Peter J. Acklam wrote: >Christopher Faylor 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 AT rfk DOT 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/