Art Edwards wrote:
I'm trying to run a shell script with tcsh (my default shell is tcsh). My first line of the script is #!/bin/tcsh However, the shell seems to be running in the bourne shell (sh). I say this because I can't get the shell to source my .cshrc file and the ls command gives the same result as I get inside sh. What am I doing wrong?
I don't know about tcsh, but (according to the man page) bash only executes ~/.bashrc for interactive non-login shells. You might want to try adding a ". ~/cshrc" or the tcsh equivalent to source the file. -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~sanchezr
Attachment:
signature.asc
Description: OpenPGP digital signature