[gull] Afficher Lignes Impaires d'un fichier texte

JM Nunes Jose.DeAbreuNunes at ieug.unige.ch
Wed Mar 8 10:33:59 CET 2006


> ...
> awk '{if (FNR % 2 == 1) {print;}}' filename
> ...

que peut encore s'écrire:
  awk 'NR % 2' fichier



More information about the gull mailing list