From: jp@nuancecom.com (JP Shipherd)
Subject: Re: bash won't hand off to perl (reprise)
21 Mar 1997 23:33:36 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <3.0.32.19970321154950.00a22ce0.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: Rick Rankin <rrankin@primenet.com>
Original-Cc: gnu-win32@cygnus.com
Original-Sender: owner-gnu-win32@cygnus.com

At 09:11 PM 3/20/97 -0700, you wrote:
>>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
>
>This is not a bug; it is correct behavior. When you execute the command
>
>/bin/sh perl-script.pl
>
>you are telling the shell to interpret the file "perl-script.pl" as a
>bourne shell script. 

You're right, this is the same behaviour exhibited on solaris.  However
that is exactly the command spawned by gnumake (if SHELL=/bin/sh).  How
does it happen differently if executed in a makefile than executed from the
command line?

--jp
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
