procmail
[Top] [All Lists]

Re: script with sed

2000-10-05 02:24:10
From: "David W. Tamkin" <dattier(_at_)ripco(_dot_)com>

This sed code is better:
                                         sed -e 's/\*-.*$//' -e 1q

(Note the `i' flag on the recipe.)  This way sed gets to quit after
one line instead of having to read and discard the rest of the input

Right you are.  Good.

-- 
dman

_______________________________________________
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>