[aprssig] sorting aprs data (sort / uniq

Andrew Rich (VK4TEC) vk4tec at tech-software.net
Fri Mar 4 22:32:52 EST 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