| 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 |
| Message-Id: | <5.1.0.14.2.20020222123545.03dadeb0@imap.local.mscha.org> |
| X-Sender: | ml AT imap DOT local DOT mscha DOT org (Unverified) |
| X-Mailer: | QUALCOMM Windows Eudora Version 5.1 |
| Date: | Fri, 22 Feb 2002 12:38:46 +0100 |
| To: | pjacklam <pjacklam AT online DOT no>, cygwin AT cygwin DOT com |
| From: | Michael Schaap <cygwin AT mscha DOT org> |
| Subject: | Re: /usr/bin/env - Incorrect parsing of #! line? |
| In-Reply-To: | <3C765D91@epostleser.online.no> |
| Mime-Version: | 1.0 |
At 09:53 22-2-2002, pjacklam wrote:
>I know, but cygwin respects shebang lines (e.g., a text
>file in the path starting with the line "#!/bin/gawk"
>will really be run by gawk), so I'm sure there is a way
>to get this working right. I just haven't found it yet.
Well, someone(*) posted a solution that should work for you:
Create a wrapper script, e.g. '/usr/local/bin/perl -w', with contents
#!/bin/sh
perl -w $*
- Michael
(*): Sorry, don't remember who suggested this. And this thread has become
_way_ too long to find it back...
--
I always wondered about the meaning of life. So I looked it
up in the dictionary under "L" and there it was - the meaning
of life. It was not what I expected. - Dogbert
--
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 |