Re: [A-Z], [:upper:]

2019-03-28 Thread Greg Wooledge
On Thu, Mar 28, 2019 at 09:30:43PM +0100, Norman H. Azadian wrote: > 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:]} You have two problems here. Well, fou

Re: [A-Z], [:upper:]

2019-03-28 Thread Eric Blake
On 3/28/19 3:30 PM, Norman H. Azadian wrote: > Description: >     In version 4 [A-Z] is broken and [:upper:] works. Depends on your definition of broken and works. In version 4, ranges are locale dependent; if you are using LC_ALL=C, then it is 26 letters, if you are using any other locale, t

[A-Z], [:upper:]

2019-03-28 Thread Norman H. Azadian
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]: Machi

Leaking file descriptors on fast SIGINT's in PROMPT_COMMAND, PS1

2019-03-28 Thread Tycho Kirchner
Dear bash-maintainers, the *interactive* bash leaks (pipe-)file-descriptors when fast interrupts (SIGINT) occur. The bug occurs on all bash-versions tested (see below), including 5.0.2(1)-release. The bug is most easily reproduced using two terminals. # Terminal one: # Setup a PROMPT_COMMAND