> > Almost forgot - you might enjoy looking at the "trap" command in bash (and > > other shells). > > Is there a C-shell equivalent of trap? Sure. Sub-shell the job out to a sane shell environment and work there. :-P Friends don't let friends use csh. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell