Developer Tip: Replace your grep with ack-grep

I found this pearl here.

Replace your:

grep -i -n -r 'string' ./path

By:

sudo apt-get install ack-grep
ack-grep pattern

Usage in Symfony2 projects would be e.g. to know more about a command:

ack-grep assetic:dump

Leave a Reply

Your email address will not be published. Required fields are marked *