I was going through some old code tonight from college that had my student id(SS #) in it and I wanted to strip out my SS # from it. I run into this situation a lot where I need to do a mass inline search and replace. I hope this command is useful to anyone else
find . -type f -exec sed -i 's/MyIdentity//' {} \;
Inline Search and Replace
Sunday, March 2, 2008 at 3:19 AM Posted by anonymouscoward
Labels: linux
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment