> I use bourne shell, but keep a .cshrc around for time when
> I need csh. I use the company default .cshrc which echo's
> the date and current working directory to the terminal.
> unfortunately this makes the which command unuseable in scripts.
>Is there a way to make which not source the .csh file?
It's a mistake for .cshrc to show stuff like that - put it in .login
instead. You'll make it hard for people who use csh to use some other
tools such as sftp. Your company default author should have spotted that.
Do "type" and "whence" not work as well as "which" ?
Elvis Notargiacomo master AT barefaced DOT cheek
If its message contained filing-cabinets in annex, for
security reasons same sao automatically extinguished.