procmail
[Top] [All Lists]

limiting stdin

1997-03-29 12:26:47
Stan Ryckman asked,

| Can't one avoid writing *any* of the header or body?  Something like:
| 
|   :0c:log.gz.lock  # now I think you need to name the lock

Stan's right about needing to name the lock when the action line is a left
brace.

|   {
|      JUNK="`/usr/local/gnu/bin/date +'%e/%m/%y, %k:%M'`"
|      JUNK="`echo $VAR8 lines, $JUNK, $VAR9, $VAR10 | gzip >> log.gz`"
|   }
| 
| or am I missing something?  (Quite possible  :)

No, that doesn't help.  With the format

        variable=`command`

procmail feeds the entire message to the command's stdin.

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