Subject: Re: "sort -u" vs "sort -h -u": possible bug

From: Paul Eggert <[email-masked]>
Date: Sun, 16 Feb 2025 14:22:48 -0800

On 2025-02-16 03:02, Rupert Gallagher wrote:
> The introduction of the unique operator (-u) returns a wrong answer when used with the human sorting operator (-h).

The answer is "wrong" only in the sense that sort's documented and 
implemented behavior is not what you expect.

To fix this mismatch between behavior and expectations, don't use -h. It 
makes sense to not use -h, -h is not intended for uses like that.