I tend to write all of my shell scripts in bash - I like the power and flexibility. Unfortunately, the environment in which I need to write my next script is tcsh. Fine, I can learn tcsh if I have to, but perusing the manual and some web pages, I really don't like the look of tcsh.
The script has to accept a one word input, and do a case style check on it to see if its a known target. If it is, go there, dump the user there. If not, print the help. Trivial in bash. However, if I write this in bash, the cd works, and then the script returns me to where I was! Anyone got a pointer on where I can look to solve this type of problem (or is it a 'you thick twit, that's how it works!'?), I would appreciate it. -- Sapere aude My mind not only wanders, it sometimes leaves completely. Never attribute to malice that which can be adequately explained by stupidity. _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list