with LC_COLLATE=en_US.UTF-8,
sort faces.txt | uniq -c
5 (◕‿◕)
uniq treats (︺︹︺) as equal to (◕‿◕).
Copied the file to my machine to test.
I also ended up with this: https://gist.github.com/daveloyall/63485c5a08882432b138c0917...
awk '{if (!c[$0]) { print }; c[$0] = 1 }'
awk '!a[$0]++' faces.txt
I also ended up with this: https://gist.github.com/daveloyall/63485c5a08882432b138c0917...