Subject: Re: bash won't hand off to perl (reprise)
From: [email-masked] (JP Shipherd)

21 Mar 1997 23:33:36 -0800
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: [email-masked]
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Original-To: Rick Rankin <[email-masked]>
Original-Cc: [email-masked]
Original-Sender: [email-masked]

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
"[email-masked]" with one line of text: "help".