Print second last column/field in awk

后端 未结 9 1956
野趣味
野趣味 2020-11-29 16:58

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 use

9条回答
提交回复
热议问题