Linux Today: Linux News On Internet Time.





More on LinuxToday


a little vi trick

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

WEBINAR:
Live

Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js


Date: 1/31/2018 @ 2 p.m. ET

[ 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

qq

"search and replace in the whole file

/%s/foo/bar/g"

Complete Story

Related Stories: