huniq
huniq copied to clipboard
Add an option for huniq -c to indent numbers like uniq -c
In other words, use %7d format for numbers.
That is, instead of printing
1 world
12345 hello
******1 hello
**12345 world
(I've replaced spaces with *s for clarity).
Implementing this should not bee to hard; would you like to give it a shot?