Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11347

Re: Bash ignores case when globbing with character ranges

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Bash ignores case when globbing with character ranges
Date 2015-08-13 14:20 -0400
Message-ID <mailman.8274.1439490091.904.bug-bash@gnu.org> (permalink)
References <20150813141518.612C41268@callahans.site> <20150813173637.GQ4309@eeg.ccf.org>

Show all headers | View raw


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    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Bash ignores case when globbing with character ranges Chet Ramey <chet.ramey@case.edu> - 2015-08-13 14:20 -0400

csiph-web