delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/20/15:21:04

From: jp AT nuancecom DOT com (JP Shipherd)
Subject: bash won't hand off to perl (reprise)
20 Mar 1997 15:21:04 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <3.0.32.19970320121233.00a33a30.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: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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