Re: [SSFR] Bash + log come back

[ Thread Index | Date Index | More debianworld.org/shellscript-fr Archives ]


On Wed, Aug 10, 2005 at 10:34:36PM +0000, Xavier Gachon wrote:
> IFS=$'\n'
> for host in $(cut -d: -f3 log | uniq); do
>   grep ":$host:" log | sed -n '1p;$p'
done

evidemment, c'est mon clavier qui se blo




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/