I want to print the second last column or field in awk. The number of fields is variable. I know that I should be able to use $NF but not sure how it can be used.
$NF
And this does not seem to work:
awk ' { print ( $NF-- ) } '
awk '{print $(NF-1)}'
Should work
1.4m articles
1.4m replys
5 comments
57.0k users