Order Tray | Contact Us | Home | SIG Lists

[aprssig] sorting aprs data (sort / uniq

Andrew Rich (VK4TEC) vk4tec at tech-software.net
Sat Mar 5 03:32:52 UTC 2005


Hi 

I want to sort some aprs data and count traffic.

Can anyone confirm this is the case ?

1) 'sort' sort the file alphabetically
2) 'uniq' returns occurances but they must be next to each other in the
file
3) 'sort data | uniq' sorts the data that uniq needs to single out
occurances.
4) 'sort data | uniq -c' sorts and returns counts of unique occurances
5) 'sort data | uniq -c | sort -n' returns unique occurances and counts,
counts sorted smallest to largest 

I basically found data needs to be fed to uniq 

Cheers Andy VK4TEC





More information about the aprssig mailing list