in reply to perl one liner print columns 2.. last
awk does such things well. Uses \s+ delimiter by default.
cat file | awk '{ print ( $2, $(NF-1) ) }'
|
---|
In Section
Seekers of Perl Wisdom