procmail
[Top] [All Lists]

Limiting extraction with \/

1999-01-06 23:09:19
I am re-doing most of my procmail filters; and have been using the
following for most of my mailing lists.  How can I eliminate the sed
command?

:0:
* ^From[        ]owner-\/.*@
{
        LIST=`echo $MATCH|sed -e 's/@/\.gz/'`

        :0 w:
        |gzip -fc >> $LIST
}

I know its basic, but it compleately eludes me at this time.  

-- 
APL is a mistake, carried through to perfection.  It is the language of
the future for the problems of the past: it creates a new generation of
coding bums.

<Prev in Thread] Current Thread [Next in Thread>