Tuesday, July 7, 2009

how to search and replace string with confirmation in vi

:s/OLD/NEW/gc

Please notice the extra "c" for "confirmation".

0 comments:

Post a Comment