delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/10/30/18:21:39

From: bas AT wn DOT com ("Bret A. Schuhmacher")
Subject: what did I miss? #!.... doesn't work in bash
30 Oct 1996 18:21:39 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.LNX.3.91.961030122503.3502I-100000.cygnus.gnu-win32@webnet.wn.com>
Mime-Version: 1.0
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

OK, what part of the manual did I miss?  I can't get scripts with 
#!/bin/tclsh or #!/bin/perl or whatever to work.  Is this a configuration 
thing?  Is this a path thing (/bin is in the path, as is .).

I downloaded the bash source code and found some code in execute_cmd.c 
that would do the trick... but I can't find the bash code that was ported 
to Win/NT.  I can't get my compiled bash to tell me what version it is, 
so I can't tell if the source version I found (1.14.6) is newer or older.

Not looking for a handout, just a pointer :-).  How have you handled this 
in the past (besides executing /bin/tclsh <script> from the cmd line)?

Thanks,

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 -


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