awk treats each input line as a record split into fields by whitespace (default) or another delimiter. $1 is the first field, $2 the second, $0 the whole line. It is a tiny language: BEGIN and END run before and after processing; pattern { action } pairs decide what runs for each line.
First examples
Content is available with 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.