Useful tool: ack
written by Ian McCracken
at Tuesday, September 23, 2008
I don't know how long ack has been around, but I only discovered it yesterday (via $tail -f findings.out). It does basically the same thing as the eternal paradigm:
...only more maneuverable, and wrapped up in a shell script, plus highlighting and other good bits. It has a bunch of options I haven't really explored yet. It's looking like I can retire my collection of aliases (
Remember: no real man uses an IDE.
$ find . -name \*.py | grep -v '.svn' | xargs grep 'my search string'
...only more maneuverable, and wrapped up in a shell script, plus highlighting and other good bits. It has a bunch of options I haven't really explored yet. It's looking like I can retire my collection of aliases (
pyfind
, jsfind
, etc.).Remember: no real man uses an IDE.