Procmail recipe: extracting matched text

Paul Bryan pa_bryan at yahoo.co.uk
Tue Dec 10 15:14:54 EST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 10 Dec 2002 13:32, Michael Still wrote:
> On Tue, 10 Dec 2002, David Gibson wrote:
> > Erm.. are you sure that procmail's notion of regular expressions
> > actually allows this at all?
>
> Well, sorta. Based on Nemo's post, and therefore having enough information
> to do a google effectively, I have reduced a 500+ line lists.rc (which

Have a look here:

http://www.ii.com/internet/robots/procmail/qs/#extraction

This has some good tips to using extraction and the $MATCH variable.

- -- 
Paul Bryan
E-Mail: pa_bryan at yahoo.co.uk
 
PGP Key
http://www.keyserver.net:11371/pks/lookup?op=get&search=0xB1D405DA
... A solemn, unsmiling, sanctimonious old iceberg who looked like he
was waiting for a vacancy in the Trinity.
		-- Mark Twain
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE99WpA3qGyTLHUBdoRAiUDAJ9/l7P9g5dBkTvIlOyFXYeTp7DRdwCfXIW8
OxkuHpIMtAwTOoWo7MSB4jI=
=EAwT
-----END PGP SIGNATURE-----



More information about the linux mailing list