Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: pws-22: killing the ZSH loops problem



 The easy way to reproduce it is
>
> bor@itsrm2:~%> while true
> while> do
> while> echo $((i++))
> while> sh -c "read line"
> while> done
> 0
> ^C
> 1
> ^C
> 2
>


It does not happen, if I use 'zsh -c "read line"' (that is, the whole loop is
killed), but as it stays with every external command I tried.

/andrej



Messages sorted by: Reverse Date, Date, Thread, Author