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 charact
On Tue, Nov 24, 2015 at 02:23:20PM +0200, Michael Kazakov wrote:
> I have founded a bug in variable manipulation behavior of bash version
> 4.2.53.
> Constructions ${parameter,pattern} and ${parameter,,pattern} does not
> working properly:
> michael@kazakov:~> VAR=COLORADO
> michael@kazakov:~> ec
On Tue, Nov 24, 2015 at 2:23 PM, Michael Kazakov
wrote:
> Hellol.
> I have founded a bug in variable manipulation behavior of bash version
> 4.2.53.
> Constructions ${parameter,pattern} and ${parameter,,pattern} does not
> working properly:
> michael@kazakov:~> VAR=COLORADO
> michael@kazakov:~> e
Hellol.
I have founded a bug in variable manipulation behavior of bash version
4.2.53.
Constructions ${parameter,pattern} and ${parameter,,pattern} does not
working properly:
michael@kazakov:~> VAR=COLORADO
michael@kazakov:~> echo ${VAR,c}
COLORADO
michael@kazakov:~> echo ${VAR,,o}
COLORADO
But