[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LC_COLLATE not used for filename expansion
From: |
Chris F.A. Johnson |
Subject: |
LC_COLLATE not used for filename expansion |
Date: |
Wed, 16 Jul 2008 18:41:03 +0000 |
User-agent: |
slrn/0.9.8.1 (Linux) |
With LC_COLLATE set to a locale with case-insensitive collation,
filename expansion does not use the locale. It does with LC_ALL.
In an empty directory:
$ touch a B c D e F
$ echo *
B D F a c e
$ LC_COLLATE=en_us
$ echo *
B D F a c e
$ LC_ALL=en_us
$ echo *
a B c D e F
--
Chris F.A. Johnson, webmaster <http://Woodbine-Gerrard.com>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
- LC_COLLATE not used for filename expansion,
Chris F.A. Johnson <=