bash cannot switch background/foreground for aplay

2020-03-06 Thread Chao Song
Hi, Bash Developers,     I found that bash cannot switch background/foreground for aplay. To reproduce:     1. run aplay: aplay -Dhw:0,0 -f dat -i -c2 -vvv ./somewave.wav     2. press CTRL + Z to switch to background     3. press fg to switch to foreground.  [Failed at this step, seems aplay

Re: bash cannot switch background/foreground for aplay

2020-03-06 Thread Chet Ramey
On 3/6/20 1:57 AM, Chao Song wrote: > Hi, Bash Developers, > >     I found that bash cannot switch background/foreground for aplay. > > To reproduce: > >     1. run aplay: aplay -Dhw:0,0 -f dat -i -c2 -vvv ./somewave.wav > >     2. press CTRL + Z to switch to background > >     3. press fg to

An exported function is malformed if it contains a nested function definition with heredoc

2020-03-06 Thread Sherwood Wang
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 -Wformat -Werror=format-security -Wall -Wno-parentheses -Wno-format-security uname ou

Re: An exported function is malformed if it contains a nested function definition with heredoc

2020-03-06 Thread Chet Ramey
On 3/6/20 9:48 AM, Sherwood Wang wrote: > Bash Version: 5.0 > Patch Level: 3 > Release Status: release > > Description: > > A function containing a nested function definition with heredoc > cannot be serialized into the environment variable correctly, > and leads to failures in