On Thu, 21 Sep 2006 02:16:20 +0200
Jean-Louis <[EMAIL PROTECTED]> wrote:

> C'est bon, j'ai trouvé. Voici la solution complète:
> awk '/AAAAA/,/BBBB/{print $N}' | head -n -1 | tail -n +2
> 
> Bizarrement il faut mettre +2 et non +1.
> 
> JL
> 
> 

tu peux aussi ajouter une condition à la commande:

awk '/AAAAA/,/BBBB/{if (! /AAAAA/ && ! /BBBB/) print $2}'


bye
jipe
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Répondre à