Hi,
Plenty of text utilities are able to work with lines terminated by zero
bytes instead of newlines. "sort" is one example, which has an internal uniq
support, so "sort -z -u" sorts the input and removes adjacent identical
zero-terminated strings.
However, standalone "uniq" (5.94) doesn't support this, so I can't perform a
"uniq" without a "sort" on zero-terminated strings.
It would be nice if "uniq" also had a "-z" option.
Thanks,
Egmont