Page is a not externally linkable
wheel - 2:10 pm on Dec 15, 2009 (gmt 0)
Doing search and replace/text finding type of things are crazy easy. I'm no expert but I routinely use the two following: The other one I use is a search and replace:
The stuff you can do from the command line in linux is crazy. The difficult part is knowing the commands :).
grep -R string *
which looks recursively for 'string' in every file, down into the directory structure. Looking for a bit of code? just type that at the top of the directory and it'll find it for you.
perl -p -i -e 's/stringa/stringb/g' *
which replaces all occurrences of stringa with stringb. (I think this is called the perl 'pie' or something like that).