zsh-users
 help / color / mirror / code / Atom feed
From: "s. keeling" <keeling@spots.ab.ca>
To: mailing list zsh-users <zsh-users@sunsite.dk>
Subject: Re: Newbie zsh setup warts (history, pipes, export, ...).
Date: Tue, 26 Oct 2004 09:16:19 -0600	[thread overview]
Message-ID: <20041026151619.GE22674@infidel.spots.ab.ca> (raw)
In-Reply-To: <20041026114817.GG9745@puritan.pcp.ath.cx>

Incoming from Nikolai Weibull:
> * s. keeling <keeling@spots.ab.ca> [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.
- -


  reply	other threads:[~2004-10-26 15:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-24 23:06 s. keeling
2004-10-25  0:05 ` Clint Adams
     [not found]   ` <20041024232633.GB9382@lorien.comfychair.org>
2004-10-25  1:35     ` s. keeling
2004-10-25 10:19   ` Oliver Kiddle
2004-10-25  1:11 ` Bart Schaefer
2004-10-25  6:08   ` Wayne Davison
2004-10-25 16:25     ` s. keeling
2004-10-25 18:52       ` Juhapekka Tolvanen
2004-10-25 19:16       ` Jason Price
2004-10-26  3:57         ` s. keeling
2004-10-26  4:15           ` [ION Info #SZW-77636-264]: " s. keeling
2004-10-26  8:46           ` Olivier Tharan
2004-10-26 11:48           ` Nikolai Weibull
2004-10-26 15:16             ` s. keeling [this message]
2004-10-26 15:54               ` Nikolai Weibull
2004-10-26 16:27                 ` Bart Schaefer
2004-10-26 17:45                   ` Nikolai Weibull
2004-10-26 18:00                   ` s. keeling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041026151619.GE22674@infidel.spots.ab.ca \
    --to=keeling@spots.ab.ca \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).