Sachez que vous pouvez faire une recherche dans ce site pour en extraire des exemples grâce à un petit script. Exemple :

> fu -a awk
 1	#  List of commands you use most often
	history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head</p>
 2	#  Display a block of text with AWK
	awk '/start_pattern/,/stop_pattern/' file.txt</p>
 3	#  Remove duplicate entries in a file without sorting.
	awk '!x[$0]++' <file>

Et là vous vous dites que c’est super pratique :-). Voici comment l’installer.