Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnuFrom: naz
To: bug-bash@gnu.org,b...@packages.debian.org
Subject: [50 character or so descriptive subject here (for reference)]
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib
-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall
uname output: Linux phaedrus 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1
(2018-10-03) x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 4.3
Patch Level: 30
Release Status: release
Description:
In version 4 [A-Z] is broken and [:upper:] works.
In version 5, the situation is reversed.
Repeat-By:
foo=ABC ; echo ${foo%[A-Z]} ${foo%[:upper:]}
NHA
--
Norman H. Azadian Taegerishalde 13 CH-3110 Muensingen Switzerland
nor...@azadian.ch tel: +41 31 721 7855 mobile: +41 77 204 1981