Red Hat Bugzilla – Bug 16146
Textutil 2.0e and lack of LC_ALL set.
Last modified: 2014-03-16 22:15:47 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.
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.
No. We used to set LC_ALL, and it broke other things.
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.