bug or feature? Ctrl+C sometimes can't interrupt a loop with multiple enclosed pipes

2010-06-28 Thread Ilya Basin
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='ba

Re: bug or feature? Ctrl+C sometimes can't interrupt a loop with multiple enclosed pipes

2010-06-28 Thread Chet Ramey
On 6/28/10 9:06 AM, Ilya Basin wrote: > Bash Version: 4.1 > Patch Level: 7 > Release Status: release > > Description: > Sample script included. > When I press Ctrl+C, only the inside loop is interrupted. The outside loop > keeps going. > In zsh and in old plain sh Ctrl+C works. Thanks for the r