Linux Today: Linux News On Internet Time.

More on LinuxToday

a little vi trick

Apr 30, 2009, 10:33 (4 Talkback[s])

[ Thanks to j00p34 for this link. ]

"I open all files containing foo in vi: v

i $(grep -l 'foo' *)

"start macro recording to register q


"search and replace in the whole file


Complete Story

Related Stories: