Last active
January 26, 2017 22:37
-
-
Save daveloyall/63485c5a08882432b138c0917d264e3b to your computer and use it in GitHub Desktop.
Bug in uniq (GNU coreutils) 8.26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hobbes@metalbaby:~/e2-scratch$ cat faces_mre.txt | |
(◕‿◕) | |
(︺︹︺) | |
hobbes@metalbaby:~/e2-scratch$ od -x faces_mre.txt | |
0000000 e228 9597 80e2 e2bf 9597 0a29 ef28 bab8 | |
0000020 b8ef efb9 bab8 0a29 | |
0000030 | |
hobbes@metalbaby:~/e2-scratch$ uniq -c faces_mre.txt | |
2 (◕‿◕) | |
hobbes@metalbaby:~/e2-scratch$ uniq --version | |
uniq (GNU coreutils) 8.26 | |
Copyright (C) 2016 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. | |
Written by Richard M. Stallman and David MacKenzie. | |
hobbes@metalbaby:~/e2-scratch$ #HMMM | |
hobbes@metalbaby:~/e2-scratch$ LC_COLLATE=c uniq -c faces_mre.txt | |
1 (◕‿◕) | |
1 (︺︹︺) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(◕‿◕) | |
(︺︹︺) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment