[gull] Afficher Lignes Impaires d'un fichier texte
Leopoldo Ghielmetti
leopoldo.ghielmetti at a3.epfl.ch
Tue Mar 7 19:06:10 CET 2006
cat fichier | sed -n "1~2p"
ciao, Leo
On Tue, 2006-03-07 at 18:10 +0100, Anthony Assi wrote:
> Bonjour,
>
> Comment est-ce que je pourrais afficher les lignes impaires d'un fichier
> texte,
> sans passer par un script shell,
> plutot une combinaisons de commandes Shells ( cat -n, egrep -v, etc.. )
>
> le probleme peut se ramener au fait d'afficher une ligne oui, une ligne non.
>
>
> _______________________________________________
> gull mailing list
> gull at lists.alphanet.ch
> http://lists.alphanet.ch/mailman/listinfo/gull
More information about the gull
mailing list