bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61696: Warn about sort --numeric-sort --unique data loss


From: Pádraig Brady
Subject: bug#61696: Warn about sort --numeric-sort --unique data loss
Date: Wed, 22 Feb 2023 11:29:13 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Thunderbird/109.0

tag 61696 notabug
close 61696
stop

On 22/02/2023 01:26, Dan Jacobson wrote:
At (info "(coreutils) sort invocation") it says
   For example, ‘sort -n -u’ inspects only the value of the initial
   numeric string when checking for uniqueness, whereas ‘sort -n | uniq’
   inspects the entire line. *Note uniq invocation::.

OK, but you still need to add a warning about data loss.

Sure, you might say, "That's already mentioned" (in the fine print). "The
reader just needs to put 2 + 2 together in their heads." Yes, but
anyway, the document needs to drive home the point more.

Maybe the man page should say so too.

Honestly I don't think it's fine print.
That's essentially the point the quoted paragraph is making.
Being overly verbose in docs is a concern too.
Marking this as done for now.

cheers,
Pádraig






reply via email to

[Prev in Thread] Current Thread [Next in Thread]