AW: [Linux-Biella] Comando per trovare del testo contnuto nei file di una cartelle

Simone Caldana linux@ml.bilug.linux.it
Fri, 02 Jul 2004 16:06:17 +0200


CIARROCCHI, Paolo, VF-IT wrote:
> find . -type f -print | xargs grep -i [PATTERN]
> Recursive grep on files 
> Description: This command helps you find lines containing
>  a match to the given [PATTERN] in files in current 
> directory and located below. 

xargs e' da lamer :)

find . -type f -exec grep -i PATTERN {} \;


-- 
. Simone Caldana: Pear Minister of Foreign Affairs     .
. Aiming to become a vi mug - currently jumping around .
. simone@caldana.org         http://simone.caldana.org .