From: jp@nuancecom.com (JP Shipherd)
Subject: bash won't hand off to perl (reprise)
20 Mar 1997 15:21:04 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <3.0.32.19970320121233.00a33a30.cygnus.gnu-win32@awesome.nuance.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: jp@awesome.nuance.com
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Original-To: gnu-win32@cygnus.com
Original-Sender: owner-gnu-win32@cygnus.com

I posted a while back complaining that bash.exe wouldn't hand off to the
right command interpreter even if the shell script started with something
like:

#!/usr/local/bin/perl

After applying Geoffrey Noer's patch (well, OK, getting a cygwin.dll from
someone who did - Thanks Ron!) it did work.

However, the following still does not work:

%> /bin/sh perl-script.pl

In this case bash still tries to process the file as if it is a bourne
shell script.  Why would you ever want to do that you ask?  Weeell, believe
it or not I'm trying to run a gnu makefile from a cmd prompt.  It actually
works, kind of.

Has anyone attempted to do/fix this?

Thanks,
--jp

(Gzipped, patched versions of cygwin.dll or bash.exe gladly accepted via
email!)
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
