Bug 16146 - Textutil 2.0e and lack of LC_ALL set.
Textutil 2.0e and lack of LC_ALL set.
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2000-08-14 01:38 EDT by Ben Lindstrom
Modified: 2014-03-16 22:15 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-08-14 10:08:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ben Lindstrom 2000-08-14 01:38:24 EDT
A file containing:

sorts in correctly the results are "_,a,z,A,Z" instead of "A,Z,_,a,z".

According to the change log for it.  They require "LC_ALL" to be set 
to "POSIX" before the correct sorting behavior is seen.  A simple changes 
to /etc/profile will work for all tty based processes.  However a 
different solution needs to be present for Crontab to work.

My suggestion?  Fix "textutils" to *DEFAULT* to POSIX, and let LC_ALL 
override it.  Update the info/man to state this change.
Comment 1 Bernhard Rosenkraenzer 2000-08-14 10:08:17 EDT
Guess we should set LC_ALL somewhere in initscripts - hacking textutils for
different defaults would cause confusion and breakages for scripts written to
run on different distributions/OSes.
Comment 2 Bill Nottingham 2000-08-14 10:53:42 EDT
No. We used to set LC_ALL, and it broke other things.
Comment 3 Ben Lindstrom 2000-08-14 11:02:40 EDT
As stated before.  This should be considered a "textutils" bug.  LC_ALL should 
not need to be set anywhere in initscript since it's the incorrect thing to do.

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