Y
Hacker News
new
|
ask
|
show
|
jobs
by
tyingq
1471 days ago
awk can do something like negative indexes if needed:
$ echo "a b c" | awk '{print $(NF-1)}' b