Bug 7828 - sort is broken
Summary: sort is broken
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: textutils
Version: 6.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-12-16 01:43 UTC by Doug Ledford
Modified: 2008-05-01 15:37 UTC (History)
0 users

Clone Of:
Last Closed: 1999-12-17 14:33:27 UTC

Attachments (Terms of Use)

Description Doug Ledford 1999-12-16 01:43:15 UTC
The sort utility defaults to folding lower case to upper case.  This is
only supposed to be enabled when the -f flag is given, and there is no
means to turn it off.  This in turn breaks the use of ctags to make tags
files for vim to use since vim requires sorted tag files that don't fold
lower and upper case letters when sorting.

Comment 1 Bernhard Rosenkraenzer 1999-12-17 14:33:59 UTC
It's not a bug, it's a feature.
sort now respects locales.
What you want to do is setting LC_ALL=C before using sort.

Note You need to log in before you can comment on or make changes to this bug.