Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15695 > unrolled thread
| Started by | Martin Schulte <gnu@schrader-schulte.de> |
|---|---|
| First post | 2019-12-05 20:11 +0100 |
| Last post | 2019-12-05 20:11 +0100 |
| 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.
Backslash missing in brace expansion Martin Schulte <gnu@schrader-schulte.de> - 2019-12-05 20:11 +0100
| From | Martin Schulte <gnu@schrader-schulte.de> |
|---|---|
| Date | 2019-12-05 20:11 +0100 |
| Subject | Backslash missing in brace expansion |
| Message-ID | <mailman.357.1575573127.1979.bug-bash@gnu.org> |
Hello,
please have a look:
$ uname -a
Linux martnix4 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11)
x86_64 GNU/Linux $ echo ${BASH_VERSINFO[@]}
4 4 12 1 release x86_64-pc-linux-gnu
$ set -x
$ echo {Z..a}
+ echo Z '[' '' ']' '^' _ '`' a
Z [ ] ^ _ ` a
It looks as if the backslash (between [ and ] in ASCII code) is missing in
brace expansion. The same behaviour seems to be found in bash 5.0.
Best regards,
Martin
Back to top | Article view | gnu.bash.bug
csiph-web