Re: A possible bash bug.

2019-10-11 Thread Chet Ramey
On 10/11/19 12:07 AM, George R Goffe via Bug reports for the GNU Bourne Again SHell wrote: > Hi, > > I've been seeing these crashes randomly for the past month. This happens when > I try to use filename completion. Is this a bash bug? It's hard to say, since the crash is apparently from systemd

Re: SIGINT and process substitution leakage

2019-10-11 Thread Chet Ramey
On 9/21/19 7:21 PM, Grisha Levit wrote: > Running the below a few times results in a stray child bash process > (and a borked terminal, as the child will still read from the same > tty): > > kill -INT -$$ & while :; do : <(:); done > > This seems to have started with bash-20150724 [1] and is

Re: nocaseglob and RE matching

2019-10-11 Thread Chet Ramey
On 9/23/19 1:38 PM, Grisha Levit wrote: > Currently nocaseglob and nocasematch both control case insensitivity > of RE matching (in lib/sh/smatch.c): > > if (glob_ignore_case || match_ignore_case) > rflags |= REG_ICASE; > > However, the documentation suggests that only nocasematch should ha

Re: Bug when using pipefail and lastpipe together in bash-4.4

2019-10-11 Thread Chet Ramey
On 10/8/19 9:43 AM, Webstrand wrote: > When running the following script under bash-4.4.0 to bash-4.4.23 it > seems to fail erroneously on read. > > set -x > set -o pipefail > shopt -s lastpipe > > main() { > # Any input piped into while such that the condition > # succeeds at lea

Re: Issues with history substitution and its documentation

2019-10-11 Thread Chet Ramey
On 10/3/19 6:19 PM, Jim Monte wrote: > Hi All, > > Below are some issues I found with history substitution. I am duplicating > its behavior in a somewhat different use, and found issues with the > documentation and bugs as described. Thanks for the report. I haven't looked at these yet. -- ``Th