[Bug 14871] New: `sort -s -u -k 2' didn't remove duplicate lines

bugzilla at busybox.net bugzilla at busybox.net
Sat Jun 25 14:13:03 UTC 2022


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

            Bug ID: 14871
           Summary: `sort -s -u -k 2' didn't remove duplicate lines
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: zhangboyang.id at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Hi,

Please run `LANG=C sort -s -u -k 2' with following input data:
z b
a b
z a
a a

The output of busybox's sort is:
z a
a a
z b
a b

The expected output (from GNU sort) is:
z a
z b

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list