Occasionally, it’s useful to treat the whole input line as a
single field. This can be done easily and portably simply by
"\n" (a newline).22
awk -F'\n' 'program' files …
When you do this,
$1 is the same as
Thanks to Andrew Schorr for this tip.