n&#39;avez-vous pas un alias de grep, quelque chose comme &quot;alias grep=&#39;grep --color=auto&#39; &quot; ?  chez moi ça marche avec une Ubuntu 10.10, mais j&#39;ai remplacé &quot;grep&quot; par &quot;/bin/grep&quot;...<div>
Bonne soirée,     Paul<br><div><br> <br><div class="gmail_quote">2011/5/8 Arnaud <span dir="ltr">&lt;<a href="mailto:listes.00@gmail.com">listes.00@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Le 08. 05. 11 13:02, Félix Hauri a écrit :<br>
&gt;&gt; ou même ça, pour l&#39;affichage sur une ligne à chaque fois:<br>
&gt;&gt; $ ps aux | grep sleep | grep -v &quot;grep sleep&quot; | gawk &#39;{ printf &quot;%s;%s;&quot;,<br>
&gt;&gt; $1, $7; system(&quot;date -d &quot;&quot;\&quot;now +&quot;$12&quot;secs\&quot;&quot;) }&#39;<br>
&gt;&gt;<br>
&gt; Hem non, ce n&#39;est pas encoee ça: l&#39;heure affichée ne correspond à rien.<br>
<br>
Chez moi, ça affiche la date et l&#39;heure à laquelle j&#39;ai lancé le sleep.<br>
Mon bon, je n&#39;utilise pas/plus de distribution debian/ubuntu ^^<br>
<br>
C&#39;est peut-être que ce n&#39;est pas le champ 12 sur ce genre de distribution.<br>
_______________________________________________<br>
gull mailing list<br>
<a href="mailto:gull@forum.linux-gull.ch">gull@forum.linux-gull.ch</a><br>
<a href="http://forum.linux-gull.ch/mailman/listinfo/gull" target="_blank">http://forum.linux-gull.ch/mailman/listinfo/gull</a><br>
</blockquote></div><br></div></div>