News for hackers. Stuff that matters.
Re:Awkward – A Node.js-based terminal emulator by _bAp_ on Wednesday July 20, 2016 @01:29PM (#12130825)
Not intuitive enough apparently ;)

$NR stores the number of records (or the current record number) not the number of fields (that's $NF). In the example the "NR > 1" is meant to exclude the header line from the output.

Re:Awkward – A Node.js-based terminal emulator by deuill on Wednesday July 20, 2016 @02:14PM (#12131203)
You are entirely correct -- I got tunnel vision/brain fart and mixed NF and NR up, newbie mistake!

NR is initialized to 1 on the first line, and is incremented for every subsequent line read. So, in this case, the above pattern will match any line after the first.