Right now I do this a lot:
find * | grep py$ | xargs grep foo
I recall there is some util that does this with way less typing, but which?
UPDATE: I prefer to use the Bash shell if possible.
I love ack:
Which would you rather type?
$ grep pattern $(find . -type f | grep -v '\.svn')
$ ack pattern
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With