Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Clemens Fischer <ino-e80fb418@spotteswoode.de.eu.org>
Subject: Re: ifile or similar
Date: Thu, 22 Aug 2002 14:26:08 +0200	[thread overview]
Message-ID: <3ct76pwf.fsf@spotteswoode.dnsalias.org> (raw)
In-Reply-To: <ifcrja.d4k.ln@obelix.bakkelygaard.dk>

Anders Wegge Jakobsen <wegge@bakkelygaard.dk> writes:

> "Adam" == Adam Sjøgren <spamtrap@koldfront.dk> writes:
>
>  If you're already using procmail for splitting mail, it is pretty
> straightforward to do:
>
>         FOLDER=`ifile -gwc -Q |cut -d' ' -f1`.spool
>         #
>         :0:
>         $FOLDER

i'm not sure about the options.  the most recent version ifile-1.0.7
has (finally!) an option for easier scripting.  the call should be
more like:

# -ino: 2-20.08.02-20:08 new option "-c" with version 1.0.7:
FOLDER=`/usr/local/bin/ifile -cQ`

the option "-c" or "--concise" works with "-q" (query database for
classification) and "-Q", which queries the database /and/ inserts the
statistics of the current document into it.  this obsoletes:

#FOLDER=`ifile -g -v0 -Q |head -1 |cut -d' ' -f1`

the "-c" option basically does what the extranous "|cut ..."  pipe is
(propably) supposed to do.

the "-w" option in your invocation would make ifile lex for white
space separated words.  i think it is better to let it use the default
lexer, which considers punctuations as well, thus including statistics
on typical host name particles and header values.

clemens


      parent reply	other threads:[~2002-08-22 12:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-18 19:33 Adam Sjøgren
     [not found] ` <ajotn9$1db2j7$1@ID-125932.news.dfncis.de>
     [not found]   ` <87n0rkudz3.fsf@virgil.koldfront.dk>
     [not found]     ` <ajp14m$1dacii$1@ID-125932.news.dfncis.de>
2002-08-18 21:23       ` Adam Sjøgren
2002-08-18 23:01         ` Bruce Stephens
2002-08-19 15:59         ` Christopher Browne
     [not found] ` <ifcrja.d4k.ln@obelix.bakkelygaard.dk>
2002-08-22 12:26   ` Clemens Fischer [this message]

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=3ct76pwf.fsf@spotteswoode.dnsalias.org \
    --to=ino-e80fb418@spotteswoode.de.eu.org \
    /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.
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).