bug-bash
[Top][All Lists]
Advanced

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

Re: Lower case construction does not working properly


From: Chet Ramey
Subject: Re: Lower case construction does not working properly
Date: Thu, 26 Nov 2015 14:13:05 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/24/15 9:23 AM, Pierre Gaston wrote:

> As an aside shopt -s nocasematch and shopt -s nocaseglob don't seem to
> apply, with both on:
> 
> $ VAR=COLORADO; echo ${VAR,[c]}
> COLORADO

It doesn't seem to make sense to disregard case in a word expansion that
directly tests and manipulates character case.

-- 
``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/



reply via email to

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