procmail
[Top] [All Lists]

Re: Still not Looping and SHIFTing

1996-04-30 22:55:42
Tony Jago continued:

|   Well that makes sense I guess. But I have tryed both of your code
|   samples and they don't work either.

Hmm.

|   How about this code:
| 
|   :0
|   | /usr/bin/touch "$@"
| 
|   I have no meta chars now but it still doesn't work.

Then perhaps you're using a version of procmail that didn't pass parameters
after -m properly.  That's my only remaining guess.  Try this (with a logfile
defined):

   VERBOSE=on
   :0
   * $ !${1+!}
   | /usr/bin/touch "$@"
   VERBOSE=off

and see whether the condition matches.  If $1 is defined, it should.

What does this do in the logfile, for example?

LOG=` echo parameters are "$@" `"
"

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