Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
suspend while loop.
- X-seq: zsh-workers 11421
- From: Tanaka Akira <akr@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: suspend while loop.
- Date: 17 May 2000 03:41:48 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Z(4):akr@serein% Src/zsh -f
serein% cat |while read line; do echo $line; done
<C-z>
This doesn't suspend the job.
Z(4):akr@serein% ps jax|sed -n -e 1p -e /2380/p
PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND
28769 2380 2380 28769 ttyp5 2381 S 23483 0:00 Src/zsh -f
2380 2381 2381 28769 ttyp5 2381 T 23483 0:00 cat
28772 2393 2392 28772 ttyp9 2392 S 23483 0:00 sed -n -e 1p -e /2380/p
`cat' is suspended. But zsh wait something yet...
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author