[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
quote removal issues within character class
From: |
Oğuz |
Subject: |
quote removal issues within character class |
Date: |
Sat, 9 Nov 2019 00:50:52 +0300 |
v=foo
echo ${v#[[:"lower":]]}
should print oo, but it prints foo instead. This is reproducible on bash
>4.4
Plus
case foo in (*[![:"lower":]]*) echo bar; esac
prints bar, while
case foo in (*[![":lower":]]*) echo bar; esac
doesn't print anything. And this is only reproducible on bash >5.0
- quote removal issues within character class,
Oğuz <=
Re: quote removal issues within character class, Chet Ramey, 2019/11/13