This is the mail archive of the
mailing list for the Cygwin project.
bash won't hand off to tcsh
- To: gnu-win32 at cygnus dot com
- Subject: bash won't hand off to tcsh
- From: JP Shipherd <jp at nuancecom dot com>
- Date: Mon, 03 Mar 1997 16:14:03 -0800
I've got lots of csh shell scripts. To my joy today I found a copy of
tcsh.exe which I put in /bin. (I even copied it to csh.exe at one point).
However if I run a script like setfoo:
setenv foo FooIsSet
from a bash shell, bash insists on trying to interpret the script itself
instead of handing it off to the command interpreter I'm specifying on the
first line. As you might imagine it doesn't deal with setenv too well.
(The script runs fine if I exec tcsh first and then run it).
Am I missing something simple?
Does bash not allow other shells to muscle in on it's turf?
Thanks for any help. I don't relish rewriting over 200 scripts.
For help on using this list, send a message to
"firstname.lastname@example.org" with one line of text: "help".