delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/21/23:33:36

From: jp AT nuancecom DOT com (JP Shipherd)
Subject: Re: bash won't hand off to perl (reprise)
21 Mar 1997 23:33:36 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <3.0.32.19970321154950.00a22ce0.cygnus.gnu-win32@awesome.nuance.com>
Mime-Version: 1.0
X-Sender: jp AT awesome DOT nuance DOT com
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Original-To: Rick Rankin <rrankin AT primenet DOT com>
Original-Cc: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019