procmail
[Top] [All Lists]

Re: Extra "." At End of E-mail after procmail recipe

2006-02-01 13:02:40
I suppose I could be more explicit on what the goal is:

I have an e-mail sent from fax(_at_)io(_dot_)pacificscreening(_dot_)com with 
the subject 
title of "facsimile job 9812 to 15413332222 completed", with variable 
job number.  I want to nuke those e-mail messages.

The procmail recipe I have does this, but it occasionally puts and extra 
"." on the last line of any e-mail received.

-Robert

David W. Tamkin wrote:
Robert McIntosh wrote:

No - Udi's right.  I do want exactly six.


OK.  If moreover you don't want two of the spaces next to each other, 
but each two spaces must have something between them, then replace

 [^ ]*

with

 [^ ]+

wherever Udi supplied the former.  If it's possible that there could be 
multiple spaces between two successive words, then the spaces (the ones 
outside the brackets) also need plus signs.




-- 
Robert McIntosh
Pacific Screening, Inc.
Portland, OR
503.297.1941 x 16
503.297.1904 (fax)
robert(_at_)pacificscreening(_dot_)com
Screen Your Applicants Online -> http://www.pacificscreening.com/

____________________________________________________________
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