procmail
[Top] [All Lists]

RE: Buggy recipe (simple)

2007-07-20 14:15:00
Professional Software Engineering wrote Friday, July 20, 2007 10:59 PM:

Any whitespace in there on the line?

invoke the grep operation at a shell prompt WITHOUT the -x, and
pipe into a tr (translate) invocation:

grep -i -F test whitelist_ryb | tr [:blank:] "#"

Or just use the -e switch to cat:

   11:02pm [~/Mail] 655[0]> echo "test " | cat -e
  test $

-- 
dman
____________________________________________________________
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

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