News for hackers. Stuff that matters.
Re:Know Your Tools – Terminal and Bash by mryan on Friday March 13, 2015 @05:49PM (#9200310)
How about find and replace?

:%s/foo/bar/gc

The "gc" will apply the find and replace globally, and ask for confirmation before changing an occurrence of "foo".

There are no comments on this comment yet.