Return to Snippet

Revision: 1901
at November 20, 2006 08:51 by collin


Initial Code
$EDITOR `find . -exec grep -q $PATTERN {} ';' -print`

Initial URL
http://oakwinter.com/code/

Initial Description
Using this command makes it easy to do a project-wide search-and-replace

Initial Title
Edit all files containing a given pattern

Initial Tags
Bash, replace, find

Initial Language
Bash