Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15577
| From | Oğuz <oguzismailuysal@gmail.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | quote removal issues within character class |
| Date | 2019-11-09 00:50 +0300 |
| Message-ID | <mailman.1040.1573249873.13325.bug-bash@gnu.org> (permalink) |
| References | <CAH7i3LrZFvJ1ELJzTdQzF1tTqhi9FDrA7xWWYWrd4RgWJs0Wtg@mail.gmail.com> |
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
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
quote removal issues within character class Oğuz <oguzismailuysal@gmail.com> - 2019-11-09 00:50 +0300
csiph-web