You are viewing a single comment's thread. Return to all comments →
I did not know about 3.1.2.4 ANSI-C Quoting so I wrote:
awk -F '\t' '{ print $2, $0 }' | sort -n | awk '{ $1=""; print substr($0, 2) }'
correct answer is `sort -t $'\t' -k2n
but
Seems like cookies are disabled on this browser, please enable them to open this website
'Sort' command #6
You are viewing a single comment's thread. Return to all comments →
I did not know about 3.1.2.4 ANSI-C Quoting so I wrote:
correct answer is `sort -t $'\t' -k2n
but