File descriptor leak

2020-07-30 Thread Chris Dunlop
From: ch...@onthe.net.au To: bug-bash@gnu.org Subject: File descriptor leak Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/bash-2bxm7h/bash-5.0=. -fstack-protector-strong -Wforma

Should $(fg) resume a stopped job?

2020-07-30 Thread Oğuz
$ sleep 25 ^Z [1]+ Stopped sleep 25 $ $ echo $(fg; jobs %) bash: jobs: %: no such job sleep 25 $ $ jobs [1]+ Running sleep 25 & What I gather from this is that bash fakes interactive job control in command substitution conte

Re: command bashbug does not work and something more ...

2020-07-30 Thread Chet Ramey
On 7/30/20 3:21 PM, SchmiTTT wrote: > > Here is : > > GNU bash, Version 5.0.11(1)-release (x86_64-solus-linux-gnu) > Copyright (C) 2019 Free Software Foundation, Inc. > Lizenz GPLv3+: GNU GPL Version 3 oder jünger > > > command bashbug does not work. You're go

command bashbug does not work and something more ...

2020-07-30 Thread SchmiTTT
Here is : GNU bash, Version 5.0.11(1)-release (x86_64-solus-linux-gnu) Copyright (C) 2019 Free Software Foundation, Inc. Lizenz GPLv3+: GNU GPL Version 3 oder jünger command bashbug does not work. And it seems that operators are not placed in this current

Re: Equivalence classes handled differently in mb vs non-mb patterns

2020-07-30 Thread Chet Ramey
On 7/28/20 4:17 AM, Harald van Dijk wrote: > Bash Version: 5.0 > Patch Level: 18 > Release Status: release > > Description: > In lib/glob/smatch.c, there are two functions that are used to > check equivalence classes in patterns: collequiv, and >     collequiv_wc. The former is used i

Re: Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode

2020-07-30 Thread Robert Elz
Date:Mon, 20 Jul 2020 10:11:59 -0400 From:Chet Ramey Message-ID: Sorry, didn't reply to this at the time... | You can make a case for the bash/ksh tilde expansion: the word | expansion is ${PARAM:=WORD}, and the WORD is subject to tilde expansion | according t