Every day is a discovery
This is mostly a technical blog with my learning at work.
Showing posts with label
vi
.
Show all posts
Showing posts with label
vi
.
Show all posts
Wednesday, December 5, 2007
vi search and replace all
:%s /
search_text
/
replace_text
/g
If either of the search or replace texts has a forward-slash '/', use the backward-slash '\' to escape it.
Older Posts
Home
Subscribe to:
Posts (Atom)