Linux/Unix Cookbook
just recipes..
Monday, January 28, 2013
Search and replace Sed, Vim
Sed
sed
-i 's/foo/bar/g
' filename
Vim
:%s/foo/bar/g
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment