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/> References: <bug-284864-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=3D284864 --- 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=3DC LC_CTYPE=3Diso_8859_1 MM_CHARSET=3DUTF-8 LC_ALL=3Den_US.ISO8859-1 LOCALE=3DC 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. --=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-284864-227-PT3LiCSwyu>