awk'NR % 3'# Affiche toutes les lignes sauf les modulos de 3awk'NR > 3'# Affiche toutes les lignes supérieur à 3awk'NR >= 3'# Affiche toutes les lignes supérieur ou égale à 3awk'$2 == "a"'# Affiche toutes les lignes ayant aa comme deuxième champawk'NF >= 3'# Affiche toutes les lignes ayant ayant au moins 3 champsawk'/foo/ && /bar/'# Affiche les lignes qui matchent foo et barawk'/foo/ && !/bar/'# Affiche les lignes qui matchent foo et mais pas barawk'/foo/ || /bar/'# Affiche les lignes qui matchent foo ou barawk'/foo/,/bar/'# ??awk'NF'# Affiche les lignes non videsawk'NF--'# ??awk'$0 = NR" "$0'# Affiche les lignes suffixés du numéroawk'!a[$0]++'# Affiche le fichier sans les doublons