[prev in list] [next in list] [prev in thread] [next in thread] 

List:       procmail
Subject:    limiting stdin
From:       dattier () wwa ! com (David W !  Tamkin)
Date:       1997-03-29 19:24:38
[Download RAW message or body]

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 list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic