Case Sensitive Sorting in Ubuntu
Adam Done
mlist at donestudios.com
Fri Sep 23 21:36:17 UTC 2005
>>>>Ever since I have switched to Ubuntu and have been enjoying the
>>>>experience but the one thing that has been troubling me is the lack of
>>>>case sensitivity which I really love and use a lot on the systems.
>>>>
>>>>
>>>>
<snip>
>>>>For the command line it's your LC_COLLATE setting. Changing it to "C"
>>>>puts back case-sensitive sorting (at least in the CLI):
>>>>
>>>>$ locale | grep COLLATE
>>>>LC_COLLATE="en_GB.UTF-8"
>>>>$ ls coll
>>>>a A b B c C
>>>>$ LC_COLLATE="C" ls coll
>>>>A B C a b c
>>>>
>>Do I put this in my .bash_profile?
>>
>>
>
>Good question! It depends on what level you want it set.
>
>AFAIK there are three levels that environment variables could be set:
>
> 1. System (i.e. for every login)
> 2. Login
> 3. Application
>
>Modifying the first is possible through /etc/environment and
>/etc/security/pam_env.conf. (There might be more options around though.)
>
>I don't know how to set an environment variable only for my login
>session (using GDM). A quick look at /proc/$(pgrep gnome-session)/environ
>reveals that nothing relating to my shell is loaded. (Anyone who knows
>better?)
>
>The third is application specific. If you only want the setting in your
>shell then putting it in .bash_profile will do it.
>
>/M
>
>
>
That Worked and thank you very much. I can really sigh a big relief now
and feel like UNIX again.
Thanks,
Ok.. the next thing is to get out of this in line quoting in thunderbird
(the only choices I have are attached or inline) ... I am still used to
the <> quoting. :)
-Adam
More information about the ubuntu-users
mailing list