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


Groups > gnu.bash.bug > #15577 > unrolled thread

quote removal issues within character class

Started byOğuz <oguzismailuysal@gmail.com>
First post2019-11-09 00:50 +0300
Last post2019-11-09 00:50 +0300
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  quote removal issues within character class Oğuz <oguzismailuysal@gmail.com> - 2019-11-09 00:50 +0300

#15577 — quote removal issues within character class

FromOğuz <oguzismailuysal@gmail.com>
Date2019-11-09 00:50 +0300
Subjectquote removal issues within character class
Message-ID<mailman.1040.1573249873.13325.bug-bash@gnu.org>
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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web