Surprisingly relevant?
Surprisingly relevant?
Posted May 20, 2020 6:43 UTC (Wed) by dumain (subscriber, #82016)In reply to: Surprisingly relevant? by NYKevin
Parent article: The state of the AWK
'{print $1}' may be less readable than cut -f1 but it also deals better with less structured data: separation with variable white space, leading whitespace etc. Plus you can set FS to be a regxp if needed.