Greetings, Henry S. Thompson! > You may find the following bash function useful:
> sus () > { > sort "$@" | uniq -c | sort -k1nr,1 > } Why not sort -u ? > With you data: >> sus u.txt > 2 1 > 2 2 > 2 3 > 1 4 > 1 5 > 1 6 > 1 7 > 1 8 > ht -- With best regards, Andrey Repin Tuesday, October 11, 2016 17:18:39 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple