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 To: cygwin AT cygwin DOT com Subject: Re: /usr/bin/env - Incorrect parsing of #! line? References: <00a201c1b430$5217b5c0$6600a8c0 AT cherry> <20020213015400 DOT GI28002 AT redhat DOT com> Organization: Private From: pjacklam AT online DOT no (Peter J. Acklam) Date: Wed, 20 Feb 2002 21:35:16 +0100 In-Reply-To: <20020213015400.GI28002@redhat.com> (Christopher Faylor's message of "Tue, 12 Feb 2002 20:54:00 -0500") Message-ID: User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-msvc-nt5.0.2195) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 17 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. 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/