On Wed, 2004-07-14 at 20:14, Professional Software Engineering wrote:
The book _sed_&_awk_ from ORA would be a good addition to any
technical library.
Interesting. Noted.
:0:
* ^Subject:.*todo
| formail -I "" | sed -e '/^[ ]*$/d' >> $HOME/todo
Perfect... exactly what I was looking for. Thanks a million.
I tried to do it originally with sed, but couldn't figure out a way to
make it match a newline.
Besides changing the tr to a sed operation, note addition of the lockfile
flag on the flags line - this is important, or else two concurrent message
processes could ruin your todo file.
d'oh! thanks for the reminder.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail