Le Mercredi 12 F�vrier 2003 15:56, Lemoigno a �crit :
> Bonjour,
>       Si tu cherches dans tous les fichiers de ton arborescence, ceci devrait
> marcher:
>
> find /home/machin -print | xargs grep toto > test.txt &
Sinon, dans grep, il y a l'option -r (recursive)
grep -r toto /home/machin > test.txt &
Tu as aussi les options -i pour grep et -iname (au lieu de -name) pour 
ignorer la casse, c'est a dire ne pas faire la diff�rence entre majuscule et 
minuscule.
A+
-- 
[EMAIL PROTECTED]                  http://astuce.linux.free.fr
Veuillez ne pas me joindre de textes aux formats Word ou PowerPoint, mais 
plut�t aux formats �html�, �pdf�, �rtf� ou �txt�. Merci.
Cf: http://www.fsf.org/philosophy/no-word-attachments.fr.html


Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à