awk trata cada línea de entrada como un registro dividido en campos por espacios en blanco (predeterminado) u otro delimitador. $1 es el primer campo, $2 el segundo, $0 toda la línea. Es un lenguaje pequeño: BEGIN y END se ejecutan antes y después del procesamiento; Los pares de patrón {acción} deciden qué se ejecuta en cada línea.
Primeros ejemplos
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.