[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[A-Z], [:upper:]
From: |
Norman H. Azadian |
Subject: |
[A-Z], [:upper:] |
Date: |
Thu, 28 Mar 2019 21:30:43 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 |
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnuFrom: naz
To: bug-bash@gnu.org,bash@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
norman@azadian.ch tel: +41 31 721 7855 mobile: +41 77 204 1981
- [A-Z], [:upper:],
Norman H. Azadian <=