Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: A generic function/framework/mechanism for regular polling of data?
- X-seq: zsh-users 13125
- From: "Richard Hartmann" <richih.mailinglist@xxxxxxxxx>
- To: "Zsh users list" <zsh-users@xxxxxxxxxx>
- Subject: Re: A generic function/framework/mechanism for regular polling of data?
- Date: Mon, 11 Aug 2008 15:31:47 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=l9nQcr2ylaxlJEIzwe9ax7kro8ZrRS5BUcnNgQ3/w9c=; b=Cy9nySZMDVPapBREJHPxRwRmvpvpunSkBUaDh1p7yc5yoy9qu86Dz0pQ76fmF+nMpr W+xzK00WNzkMj0AUSOABtj3SeumiWE/UsSZ2kXHJ1gq2rf5N4E5Y8uOJS3wPXH0czWuJ 1dTLlXz5BWrh2816BoA014o/xHiQ8pdWSGRpM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=qhCaQaFw3Bkftjf419h4z/uGHSuQ77/PFyEcf9seHxex3H40lHAlNbcrnN708mEzuj u76dMmG3W8L8WmDF1VM/cLKF5yLL0obszIiImscoP3LRJWUa3fFes2GTNweZziHgnsZh 6ZsPCnra0hI4j6r0LuNOLA4DozpCQUbnHpwpk=
- In-reply-to: <20080810131431.GB75798@xxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70808071833p8871ca5m19159361b6eb855b@xxxxxxxxxxxxxx> <20080810131431.GB75798@xxxxxxxxxxxxxxxxxxxx>
On Sun, Aug 10, 2008 at 15:14, Phil Pennock
<zsh-workers+phil.pennock@xxxxxxxxxxxx> wrote:
> Define periodic() and set $PERIOD; every $PERIOD seconds, periodic()
> will be called, just before a prompt. If you don't cause a prompt to be
> shown, the function won't be called.
I knew about periodic(), but rereading my mail, I should have asked
differently. Let me retry :)
What, if any, is the canonical way to parse information from a file
and putting that into variables. Normally, I would just create a bunch
of functions, but ZSH has surprised me too often by providing things
and mechanisms I never thought of, so I wanted to check if there
are any hidden goodies.
Sorry for the confusion,
Richard
PS: Mental note: Cleanly seperate what I know and what I want to
know when asking questions. Do not ask about the whole concept,
only ask about the missing pieces.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author