Why uniq Misses Duplicates, and What Makes Two Lines the Same
Why uniq leaves repeats behind, how sort -u and order-preserving deduplication differ, and why Unicode forms, case and invisible characters decide when two lines match.
Read the article →Short guides for every tool and longer deep dives for the curious — how the conversion, validation or processing actually works.
The science and history behind a tool, with sources — for the curious reader.
Why uniq leaves repeats behind, how sort -u and order-preserving deduplication differ, and why Unicode forms, case and invisible characters decide when two lines match.
Read the article →One short string can be 8 characters, 9 code units and 15 bytes all at once. This article shows where each counting unit comes from, so you can match the right number to the limit you face.
Read the article →We value your privacy
We would like to use optional analytics cookies to understand how the site is used and improve it. Nothing is loaded until you choose, and you can change your decision at any time. Privacy policy