awk traite chaque ligne d'entrée comme un enregistrement divisé en champs par des espaces (par défaut) ou un autre délimiteur. $1 est le premier champ, $2 le second, $0 la ligne entière. C'est un petit langage : BEGIN et END s'exécutent avant et après le traitement ; Les paires de motifs {action} décident de ce qui s'exécute pour chaque ligne.

Premiers exemples
Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.