Mail Archives: cygwin/1996/11/01/08:05:22
On Fri, 1 Nov 1996, James Dumser wrote:
> But you're not answering Bret's question. Sure the above script works,
> but try
> #!/bin/awk
> { print $1 }
> This will work in Unix, but bash (execve() really) still passes this to
> bash instead of awk. So the question is how to get bash to execute a
> script file with an interpreter other than bash.
Thank you! I thought I was being dense - no he *didn't* answer my
question. :-).
I found out the MKS korn shell has an environment variable called
HASHBANG that, when set to 1, will allow this to work. I may have to
use that. :-(
Bret
______________________________________________________________________________
Bret A. Schuhmacher Email: bas AT wn DOT com
Technical Director, WebNet Technologies WWW: http://www.wn.com
Voice/Fax: (214) 821-0848 Pager: (214) 816-0283
If you didn't get caught, did you really do it?
______________________________________________________________________________
-
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 -