Date: Mon, 17 Feb 2025 16:15:23 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 284864] sort does case-independent sort even without -f or --ignore-case Message-ID: <bug-284864-227-PT3LiCSwyu@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-284864-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284864 --- Comment #1 from wbe@psr.com --- /usr/bin/sort, with no options, is doing a case-independent sort. Example: file foo containing: 1 Abcd 2 1 abcd 1 2 Abcd 1 2 abcd 2 with environment variables: LANG=C LC_CTYPE=iso_8859_1 MM_CHARSET=UTF-8 LC_ALL=en_US.ISO8859-1 LOCALE=C in case any of those matter, which I would think would sort exactly as is ('A' before 'a'), instead gets sorted case-independently: # sort foo 1 abcd 1 1 Abcd 2 2 Abcd 1 2 abcd 2 Unless I'm missing something, this looks wrong. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284864-227-PT3LiCSwyu>
