bash won't hand off to perl (reprise)

JP Shipherd jp@nuancecom.com
Fri Mar 21 15:52:00 GMT 1997


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".



More information about the Cygwin mailing list