On Sun, Mar 02, 2014 at 06:09:40PM -0500, Chet Ramey wrote:
> Thanks for the report.  Pointing out the behavior difference between the
> first case (using -i) and the second (without) was the key.  Here's a
> patch.
> 
> Chet
Thanks! The patch fixes the issue:

dualbus@debian:~$ ~/local/bash-jobs-fix/bin/bash -s <<< 'for i in . .; do 
(~/local/bash-jobs-fix/bin/bash -mc ": & wait") ; done'
[1]+  Done                    :
[1]+  Done                    :
dualbus@debian:~$ ~/local/bash-jobs-fix/bin/bash -s <<< 'for i in . .; do 
(~/local/bash-jobs-fix/bin/bash -mic ": & wait") ; done'
[1] 26773
[1]+  Done                    :
[1] 26776
[1]+  Done                    :

-- 
Eduardo Alan Bustamante López

Reply via email to