On Wed, Mar 04, 2009 at 04:24:27PM -0500, kamaraju kusumanchi wrote: > Because of the size of the files involved, the number of files on > which I have to perform this operation I decided to use sed (instead > of doing it manually in vim)
Do this *manually* in vim? There were suggestions for a number of sed one-liners. Those seem to work in vim as well. Just prefix them with :% You may also consider a c alongside the g in the end to confirm substitutions. Although in many cases the ability to undo is good enough. -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il | | a Mutt's tzaf...@cohens.org.il | | best ICQ# 16849754 | | friend -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org