To @Alex >> >couldn't you do >unset HISTFILE >vim <histfile> >exit
I don't follow, but i believe you are trying to suggest that one should temporary disable history, edit the file manually, to clean it, and then restore. If this what you suggest, I am already doing it :-) , but looking for something that could automate it safely. Rajarshi ************************************************* Rajarshi Tiwari, Graduate Student (Condensed matter Physics) Harish Chandra Research Institute Allahabad-211019 ph.0532-227-4405 (O) ph.0532-227-4139 (R) http://www.hri.res.in/~rajarshi *************************************************