> if you need certain extension, you don't even need cat and find, it's all 
> about grep:

> $ grep 'string' *.extension
~
 The thing is that I need to know in which file the pattern was found
and as you guys suggested:
~
$ find -name '*.extension' -exec grep -H 'pattern' {} \;
~
 does it
~
 Thanks
 lbrtchx


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=-wa157ua4xpmq6s-2u7ghx9q3j1nrjqvcc...@mail.gmail.com

Reply via email to