informatique:linux:awk
Ceci est une ancienne révision du document !
Table des matières
AWK
Quelques liens sur l'utilisation de awk
Tutoriels
Affiche la 9eme colonne, s'il y a 9 colonnes:
awk '{if (NF == 9) {print $9}}' file.txt
Affiche les 8 premiers caracteres du premier champs
awk '{print substr($1,1,8)}'
informatique/linux/awk.1190820779.txt.gz · Dernière modification : (modification externe)
