<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=343864&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / [Résolu] Comment utiliser awk avec bash ?]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=343864</link>
		<description><![CDATA[Les sujets les plus récents dans [Résolu] Comment utiliser awk avec bash ?.]]></description>
		<lastBuildDate>Tue, 15 Sep 2009 16:20:27 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Comment utiliser awk avec bash ?]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2926307#p2926307</link>
			<description><![CDATA[<p>Mhm... bonne piste cette commande pidof..<br />Du coup ça n&#039;a plus aucun intérêt ce que j&#039;essaye de faire <img src="http://forum.ubuntu-fr.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /><br />Merci beaucoup ^^</p>]]></description>
			<author><![CDATA[dummy@example.com (jotelecom)]]></author>
			<pubDate>Tue, 15 Sep 2009 16:20:27 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2926307#p2926307</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Comment utiliser awk avec bash ?]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2925427#p2925427</link>
			<description><![CDATA[<p>Bonjour,</p><p>le $2 ne pose pas de problème à awk ni à bash.</p><p>Sinon, en n&#039;utilisant que la commande ps :</p><div class="codebox"><pre><code>ps -o pid --no-headers -C &lt;nom_de_ta_commande&gt;</code></pre></div><p>Enfin, y&#039;a <strong><em>pidof</em></strong> qui fait ce que tu souhaites faire !</p>]]></description>
			<author><![CDATA[dummy@example.com (Totor)]]></author>
			<pubDate>Tue, 15 Sep 2009 06:55:27 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2925427#p2925427</guid>
		</item>
		<item>
			<title><![CDATA[[Résolu] Comment utiliser awk avec bash ?]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2925342#p2925342</link>
			<description><![CDATA[<p>Salut, j&#039;ai trouvé une commande bash bien utile, et je me disais que je pourrais la mettre dans mon /usr/bin, seulement voilà, dans un fichier bash, on utilise les éléments passés en argument avec des &#039;$&#039;, et j&#039;utilise aussi &#039;$&#039; dans ma commande awk, donc je crois que bash ne comprends pas bien ce qu&#039;il se passe... Et j&#039;aurais besoin d&#039;aide <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Voici la commande en question, qui renvoie le PID d&#039;un programme dont on passe le nom en paramètre</p><div class="codebox"><pre><code>ps ux | awk &#039;/nom_du_programme/ &amp;&amp; !/awk/ {print $2}&#039;</code></pre></div><p>Ce qui pose problème étant le $2 de la commande awk..<br />Merci d&#039;avance !</p>]]></description>
			<author><![CDATA[dummy@example.com (jotelecom)]]></author>
			<pubDate>Tue, 15 Sep 2009 02:38:23 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2925342#p2925342</guid>
		</item>
	</channel>
</rss>
