Rechercher avec grep/zgrep
Fermé
animo
-
8 févr. 2011 à 14:16
tibobo_77 Messages postés 1357 Date d'inscription mardi 21 avril 2009 Statut Membre Dernière intervention 27 juillet 2012 - 9 févr. 2011 à 08:49
tibobo_77 Messages postés 1357 Date d'inscription mardi 21 avril 2009 Statut Membre Dernière intervention 27 juillet 2012 - 9 févr. 2011 à 08:49
A voir également:
- Unix zgrep
- Unix iso ✓ - Forum Linux / Unix
- Unix substring ✓ - Forum Shell
- Telecharger unix - Forum Linux / Unix
- Windows unix usb cle formatage - Guide
- Format unix ✓ - Forum Linux / Unix
3 réponses
tibobo_77
Messages postés
1357
Date d'inscription
mardi 21 avril 2009
Statut
Membre
Dernière intervention
27 juillet 2012
263
Modifié par tibobo_77 le 8/02/2011 à 14:25
Modifié par tibobo_77 le 8/02/2011 à 14:25
zgrep -c monmot /rep/*.gz | grep monmot | grep -v lemotquejeneveuxpas > /ton/fichier/.txt
Il doit y avoir plus simple, mais n'étant pas très doué... en tout cas ça doit marcher!
Il doit y avoir plus simple, mais n'étant pas très doué... en tout cas ça doit marcher!
à priori ceci donne la meme chose
zgrep -c monmot /rep/*.gz | zgrep -v lemotquejeneveuxpas > /ton/fichier/.txt
merci de m'avoir mis sur la voie
zgrep -c monmot /rep/*.gz | zgrep -v lemotquejeneveuxpas > /ton/fichier/.txt
merci de m'avoir mis sur la voie
tibobo_77
Messages postés
1357
Date d'inscription
mardi 21 avril 2009
Statut
Membre
Dernière intervention
27 juillet 2012
263
9 févr. 2011 à 08:49
9 févr. 2011 à 08:49
C'est bien si t'as trouvé mieux :D.
Bye
Bye