[Bug 266001] uniq says it's affected by LC_COLLATE, must not be according to POSIX
Date: Wed, 26 Oct 2022 12:28:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266001
--- Comment #3 from наб <nabijaczleweli@nabijaczleweli.xyz> ---
Furthermore, /just above the segment you quoted/, POSIX.1-2008 says:
To remove duplicate lines based on whether
they collate equally instead of whether they are identical,
applications should use:
sort -u
instead of:
sort | uniq
Which, again, reinforces that uniq checks for the lines being identical, and
isn't influenced by collation.
--
You are receiving this mail because:
You are the assignee for the bug.