lkml.org 
[lkml]   [2001]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: lkml subject line
    On Tue, 13 Feb 2001, Sven Koch wrote:

    >> That said, and while we're on the topic.. Does anyone have a
    >> *PERFECT* recipe for procmail to REMOVE the stupid [Dummy] things
    >> most GNU mailman lists and others prepend to the subject?
    >
    >I am using the following to sort the suse-security-list (for example, I do
    >the same on all lists that tag something into the subject):
    >
    >:0 fhw
    >* ^TO_suse-security@suse.com
    >| sed -e '/^Subject:/s/\[suse-security\] //'
    >:0 A:
    >SuSE-Security$MONTH

    DAMN! I was _SO_ close! I'm no sed expert, but I have been
    working the last hour or so on nailing this down and here is what
    I had:

    :0:
    * ^Subject:.*testxpert
    {
    :0 fWh
    * ^Subject:.*\[Xpert\]
    | sed -e '/^Subject:/ s/\[Xpert\]//g' >> XPERT
    }

    Didn't work of course, but I got the sed line right by the looks
    of it. Should ever we meet, I'm buying the beer good man!


    ----------------------------------------------------------------------
    Mike A. Harris - Linux advocate - Free Software advocate
    This message is copyright 2001, all rights reserved.
    Views expressed are my own, not necessarily shared by my employer.
    ----------------------------------------------------------------------
    Need general help or technical support with Red Hat Linux 7.0? Join the user
    support mailing list by sending a message to "guinness-list-request@redhat.com"
    with the word "subscribe" on the subject line.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:14    [W:0.024 / U:31.972 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site