Jones, et al -- ...and then Jones De Andrade said... % ... % I have a long tcsh script (which I won't adapt to bash) to run on a Fair enough. % bash system (which will not be modified into a tcsh system due to % other scripts needs). What is a "bash system" that "will not be modified"? Do you mean that tcsh is not installed? % % It would also be nice that the script runs with a syntax as simple % as "./script_name.x". Yep. % % So, I've thought about doing something as simple as writing: % % #!/bin/tcsh That should work, presuming tcsh is installed. % % at the beggining of the script. However, since it failed, I tested % and discovered that: % % #!/bin/tcsh % echo $SHELL % % Would still tell me I'm in bash. Not quite, as you've seen in another reply. % % What am I missing here? Wasn't it supposed to work? Let's see if it's even installed... davidtg@u17383850:~> T=`which tcsh` davidtg@u17383850:~> ls -li $T 127585 -rwxr-xr-x 1 root root 387080 Oct 29 2011 /bin/tcsh davidtg@u17383850:~> $T --version tcsh 6.17.02 (Astron) 2010-05-12 (x86_64-suse-linux) options wide,nls,lf,dl,al,kan,sm,color,filec What do you get ? If you get something like this, then try $T -X /path/to/script and show us what happens. % % Thanks a lot in advance for any help, % % Regards % % Jones HTH & HANN :-D -- David T-G See http://justpickone.org/davidtg/email/ See http://justpickone.org/davidtg/tofu.txt -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org