bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash ignores case when globbing with character ranges


From: Chet Ramey
Subject: Re: Bash ignores case when globbing with character ranges
Date: Thu, 13 Aug 2015 14:20:57 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.0.1

On 8/13/15 1:36 PM, Greg Wooledge wrote:

> However, bash does define a shopt called "globasciiranges" which
> changes the behavior of [a-z] from locale-based to traditional US-ASCII.
> You might want to try that, if you aren't willing to use the portable
> syntax, or to dumb down your LC_* variables.

He appears to be using bash-4.2; that shopt first appeared in bash-4.3.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]