...this is a log of code snippets and useful tips I wrote/found. Should you find any mistakes or have any useful suggestions, please do not hesitate to write to me.
Tuesday, November 19, 2013
Searching and Replacing strings in vi
:%s/pattern/replace/
if you are searching for a special character( '.', '$' etc), precede it with '\'
No comments:
Post a Comment