procmail
[Top] [All Lists]

Re: 'fh' flag combo

2003-07-10 15:55:08
At 17:30 2003-07-10 -0400, Damian Gerow wrote:

   :0Hhfw
    | sed s/old\(_at_)address(_dot_)com/new\(_at_)address(_dot_)com/g

works perfectly for me.

Suggestion: avoid specifying flags which are not needed. Some time from now, you or the poor sod who has to maintain this code will be trying to figure out why certain flags were specified.

'H' isn't applicable here, on two counts:

        1. You're not providing any condition lines, so it isn't applicable
        2. It is the default - the only time you should need to provide 'H'
                is in conjunction with 'B', because in the absense of H or
                B, H defaults.


---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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