[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] proctut6: Anatomy of a Procmail Recipe, Part II



SW> This is the seventh in a series of procmail tutorials. An updated
SW> version of this document may be found at:

SW>     <http://www.perlcode.org/tutorials/procmail/proctut/>

SW> Your feedback and comments are welcome!

Great work, as usual!

Just one small comment.

I spent about 5 minutes staring and puzzling over this
segment:

>     :0 h
>     | /bin/date >> /var/tmp/my_mail
>
> In this case, we pipe the headers of our message to the
> date program, which prints the date to /var/tmp/my_mail.
> Why do we pipe the headers to date?
>
> Well, we don't have to, actually. We could just do this:
>
>     :0
>     | /bin/date >> /var/tmp/my_mail

I couldn't figure out the difference between the two
illustrations, because I was looking at the filtering line,
and completely missed seeing the "h"

I think it would have been a little more clear to me if you
had simply bolded the word "headers" in the phrase "we pipe
the headers"

This might be simply my own carelessness, but one of the
tough things about learning code is that it is very easy to
overlook very subtle differences.  I think your words were
clear - it just would have helped me to emphasize the
significant word. The existing text bolds the word "date" so
I kept focusing on the line with the /bin/date program.

-Abigail

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
======================================================================


Main Index | Thread Index
Match: Format: Sort by:
Search: