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 report. The key is the shell control structure in a
pipeline calling an external command that dies due to SIGINT. This
will be fixed in bash-4.2.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/