Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: suspend while loop.
- X-seq: zsh-workers 11422
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Tanaka Akira <akr@xxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: suspend while loop.
- Date: Tue, 16 May 2000 12:02:49 -0700
- In-reply-to: <hvon1lqfic3.fsf@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <hvon1lqfic3.fsf@xxxxxxxxxxxxxxx>
On May 17, 3:41am, Tanaka Akira wrote:
> Subject: suspend while loop.
> Z(4):akr@serein% Src/zsh -f
> serein% cat |while read line; do echo $line; done
> <C-z>
>
> `cat' is suspended. But zsh wait something yet...
I think you can't break out of `read' with ^Z. Try it without the cat|
and you'll find you can't suspend the loop.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author