[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox-cvs
Subject:    [Bug 12216] sort: unique deletes to much/wrong lines
From:       bugzilla () busybox ! net
Date:       2020-01-25 12:30:09
Message-ID: bug-12216-161-QxHOwnS9Nj () https ! bugs ! busybox ! net/
[Download RAW message or body]

https://bugs.busybox.net/show_bug.cgi?id=12216

--- Comment #1 from Ron Yorston <rmy@pobox.com> ---
I don't think this is a bug.

Firstly, coreutils 'sort' exhibits the same behaviour.

Secondly, the man page for POSIX 'sort' says that the '-u' option will
"suppress all but one in each set of lines having equal keys" and that the '-n'
option will "restrict the sort key to an initial numeric string". When these
options are combined only the numeric part of the line is used to determine
lines are unique.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
busybox-cvs mailing list
busybox-cvs@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic