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

List:       coreutils-bug
Subject:    bug#26319: sort -u deletes characters it shouldn't
From:       Pádraig Brady <P () draigBrady ! com>
Date:       2017-03-31 5:15:04
Message-ID: 9e2554fc-c197-f438-538a-9804e1aa1b4c () draigBrady ! com
[Download RAW message or body]

tag 26319 notabug
close 26319
stop

On 30/03/17 14:27, sort-u@re-gister.com wrote:
> sort (GNU coreutils) 8.26
> $ echo $'䜌\n龹' | sort -u
> Expected output:龹䜌
> Actual output:䜌

That's because the strcoll() in that locale is comparing them as equal.
This needs to be addressed in the locale data for glibc etc.

thanks,
Pádraig



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

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