LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Bash 2 and shell case matching

[ILUG] Bash 2 and shell case matching

Niall niall at magicgoeshere.com
Mon Apr 17 21:20:34 IST 2000


On Mon, Apr 17, 2000 at 08:35:35PM +0100, Kenn Humborg wrote:

> Stuff like [A-Z] matching 's' makes me think of collating orders.
> And collating orders are often part of a locale specification.
> It's a long shot, I know.

Right on the money, Ken. I'd done some more trawling around before I got
your message, and the bash man page says that the environment variable
LC_COLLATE "determines the collation order used when sorting the results of
pathname expansion". I have no value for this, but perhaps it then uses the
value of LANG. Anyway, the answer is to set LC_COLLATE to C or POSIX and
then shell pathname expansion behaves as it has since God invented Unix.

> Alternatively, type bashbug and report it.  If it is expected 
> behaviour, you'll probably get an answer back PDQ.

I did - I hope they just ignore me :-)


Regards,

Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell