Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Newbie zsh setup warts (history, pipes, export, ...).
- X-seq: zsh-users 8122
- From: "s. keeling" <keeling@xxxxxxxxxxx>
- To: mailing list zsh-users <zsh-users@xxxxxxxxxx>
- Subject: Re: Newbie zsh setup warts (history, pipes, export, ...).
- Date: Tue, 26 Oct 2004 09:16:19 -0600
- In-reply-to: <20041026114817.GG9745@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20041024230623.GA3675@xxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.61.0410241803320.23496@xxxxxxxxxxxxxxxxxx> <20041025060804.GA20740@xxxxxxxxx> <20041025162529.GA10681@xxxxxxxxxxxxxxxxxxx> <20041025151633.A27126@xxxxxxxxxxxxxxxxxx> <20041026035758.GA17578@xxxxxxxxxxxxxxxxxxx> <20041026114817.GG9745@xxxxxxxxxxxxxxxxxx>
- Reply-to: mailing list zsh-users <zsh-users@xxxxxxxxxx>
- Sender: "s. keeling" <keeling@xxxxxxxxxxx>
Incoming from Nikolai Weibull:
> * s. keeling <keeling@xxxxxxxxxxx> [Oct 26, 2004 12:56]:
> > Here's what I'm using now:
> >
> > :0
> > * 1^0 ^(TO_|Sender:[ ]+owner-)zsh
> > * 1^0 ^From:.*(schaefer@brasslantern\.com\
> > |duvall@comfychair\.org\
> > |pws@csr\.com\
> > )
> > * 1^0 ^(Delivered\-To|Mailing\-List|Received):.*zsh\-
> > * 1^0 ^Newsgroups:.*comp\.shells\.zsh
> > * 1^0 ^Posted\-To:.*zsh
> > {
> > LOG="zsh-users - "
> > :0:
> > IN.zsh-users
> > }
> >
>
> What are the 1^0 supposed to do?
That's "scoring" (man procmailsc). It's how you build OR rules in
procmail. If _any_ of those conditions match, it's a match. Without
scoring, all of those would have to match (AND) for it to be a match.
All procmail recipes start with a beginning score of -1. Any of those
matching would add 1 to the score, thereby triggering the action
clause.
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Please don't Cc: me.
- -
- References:
- Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author