<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://lea-linux.org/docs/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sty25</id>
	<title>Lea Linux - Contributions [fr]</title>
	<link rel="self" type="application/atom+xml" href="https://lea-linux.org/docs/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sty25"/>
	<link rel="alternate" type="text/html" href="https://lea-linux.org/documentations/Sp%C3%A9cial:Contributions/Sty25"/>
	<updated>2026-05-16T14:49:24Z</updated>
	<subtitle>Contributions</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://lea-linux.org/docs/index.php?title=Discussion_Trucs:Grep_:_chercher_un_texte_dans_plusieurs_fichiers&amp;diff=13028</id>
		<title>Discussion Trucs:Grep : chercher un texte dans plusieurs fichiers</title>
		<link rel="alternate" type="text/html" href="https://lea-linux.org/docs/index.php?title=Discussion_Trucs:Grep_:_chercher_un_texte_dans_plusieurs_fichiers&amp;diff=13028"/>
		<updated>2006-07-12T10:06:00Z</updated>

		<summary type="html">&lt;p&gt;Sty25 : &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;j&#039;utiliserais grep -l car grep va retourner la chaine de caractères qui est dans le fichier, tandis que grep -l va retourner le nom du fichier&lt;br /&gt;
&lt;br /&gt;
encore mieux pour avoir le nom du fichier où il a trouvé la chaine recherchée:&lt;br /&gt;
find . | xargs grep chaine_recherchée \;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Il y a aussi :&lt;br /&gt;
&lt;br /&gt;
find . -type f -print | xargs grep toto&lt;/div&gt;</summary>
		<author><name>Sty25</name></author>
	</entry>
</feed>