procmail
[Top] [All Lists]

Space insertion in header lines

1997-06-23 07:59:00

Hi there!

If anyone wants to be sure, that after the ':' in header lines there is at
least one space, try this recipe as the first in your .procmailrc:

# insert space after ':' in header lines that do not contain this space

:0 fhw
| sed 's#^\([^:         ]\+:\)\([^ ]\)#\1 \2#'

Bye

        robert

-- 

  Robert Klemme
    computer science and philosophy
      at University of Paderborn, Germany
        email: kle(_at_)uni-paderborn(_dot_)de

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