How can I print the second Field, counting from the end of the fields, dynamically?
input
4 6 5 6 4
4 5 6
7 8 9 6 3
4 5 6
I would like to print the second column, numbered from the last record (dynamically)
The desired result is:
6
5
6
5
I tried -$2
that does not work.