[Bug 284864] sort does case-independent sort even without -f or --ignore-case
Date: Mon, 17 Feb 2025 16:15:23 UTC
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.