Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: pws-22: killing the ZSH loops problem
- X-seq: zsh-workers 6670
- From: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>
- To: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>, "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: pws-22: killing the ZSH loops problem
- Date: Wed, 16 Jun 1999 12:43:56 +0400
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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