Sort by column

Published: Sunday, Nov 22, 2009 Last modified: Monday, Dec 9, 2024

Sort by third column using semi-colon as a delimiter:

wget http://weather.dabase.com/3day.txt -O /dev/stdout |  sort -n -t ";" -k 3

-n is for numeric sort.