Awk question
Author
Discussion

tinman0

Original Poster:

18,231 posts

271 months

Friday 12th October 2007
quotequote all
Quick question, and for some reason i can't remember, what the $ in awk to print the last field and I cant find a page on google.

eg $1 is the first field, $2 is the second etc, $0 is all the fields, so what would the last field be?

tinman0

Original Poster:

18,231 posts

271 months

Friday 12th October 2007
quotequote all
got it. sorry. $NF