Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2022 12:28:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 266001] uniq says it's affected by LC_COLLATE, must not be according to POSIX
Message-ID:  <bug-266001-227-QVziPRxEDl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266001-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266001-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266001

--- Comment #3 from =D0=BD=D0=B0=D0=B1 <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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266001-227-QVziPRxEDl>