News for hackers. Stuff that matters.
Re:Exploratory Data Analysis Using Awk by tejtm on Friday October 06, 2023 @01:50PM (#37793807)
yep, without knowing about `nl` I used `...| grep -n column_header` or `...|grep -n .` to replicate the 'nl' behavior.

edit: I like your 'nl' better as it is using white space instead of colon as a separator.

Re:Exploratory Data Analysis Using Awk by bear8642 on Saturday October 07, 2023 @07:50PM (#37806576)
oh, didn't realise you could do that - I've tended to use `... |awk '{print $NF, $0}'` to add line numbers to something