Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: repeat indefinitely?
- X-seq: zsh-users 13381
- From: Atom Smasher <atom@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: repeat indefinitely?
- Date: Thu, 23 Oct 2008 09:55:56 +1300 (NZDT)
- In-reply-to: <6a42eec70810221134n9358e20u1bdb272a4bfc6291@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Openpgp: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt
- References: <6a42eec70810221134n9358e20u1bdb272a4bfc6291@xxxxxxxxxxxxxx>
On Wed, 22 Oct 2008, sam reckoner wrote:
is it possible to do
% repeat Infinity; do ; something; done
and then kill it with Ctrl+C or something?
==================
while :
do
stuff
done
you may have to hold ^C until you kill the wile-loop, not just the stuff
in that iteration of the loop.
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"We must have strong minds, ready to accept facts as they are."
-- President Harry Truman
"I don't care what the facts are."
-- President George H.W. Bush, 1988
Messages sorted by:
Reverse Date,
Date,
Thread,
Author