[18:27:17 Tue Dec 07] [localhost:~] russellm$/exec(/bin/tcsh);source MozScript1d.txt; -bash: syntax error near unexpected token `/bin/tcsh' On Dec 7, 2004, at 6:08 AM, Steffen Lund Hokland wrote: > what happens if you start out with. > exec(/bin/tcsh) > ? > > steffen > > On 7/12-2004, at 12.47, Russell McGaha wrote: > >> Folks; >> In an effort to start learning Bash I change my shell from Tcsh to >> Bash, but that's caused a problem. I've a script that runs nightly >> to pull and build Mozilla, the script is a Tcsh script with a first >> line of "#!/bin/tcsh -x". Now I THOUGHT, that line told the 'system' >> to run that script under Tcsh; but with my shell set to Bash, I get >> all kinds of Bash errors on the first lines of the script and the >> script doesn't run. I've tried running "do script with command >> "/bin/tcsh;source MozScript1d.txt;" " from an AppleScript to invoke >> Tsch first, and then run the script; but all though Tsch gets invoked >> my scripts doesn't. >> Anyone know what I'm doing wrong or how I can correct this? >> >> TIA >> Russell >> >> _______________________________________________ >> X-Unix mailing list >> X-Unix at listserver.themacintoshguy.com >> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix >> >> > An Apple a day keeps the .doc away! > ___________________________________________ > Steffen Lund Hokland, MSc. > PhD Student > > The MR-Research Centre > Clinical Inst. > Aarhus University Hospital > Skejby Hospital > DK-8200 Aarhus > Denmark > > Phone Office : +45 89495264 > Phone Home : +45 86166608 > Phone Mobile : +45 61307461 > > e-mail : hokland at mr.au.dk > ___________________________________________ > > _______________________________________________ > X-Unix mailing list > X-Unix at listserver.themacintoshguy.com > http://listserver.themacintoshguy.com/mailman/listinfo/x-unix