Checking and Including Addition Files?

Checking and Including Addition Files?

am 09.06.2005 16:52:30 von wiltbank

I'm trying to find a method to do the following within my procmail
file:

1) Determine if a file in the same directory exists.
2) If it does, include its contents for processing.

Might anyone be able to give a quick example?

Thanks,
Rob

Re: Checking and Including Addition Files?

am 10.06.2005 01:43:07 von Alan Connor

On comp.mail.misc, in <1118328750.373109.229870@g47g2000cwa.googl
egroups.com>, "wiltbank@gmail.com" wrote:
>

>
> I'm trying to find a method to do the following
> within my procmail file:
>
> 1) Determine if a file in the same directory exists.

Same directory as what? The procmailrc file is usually found
in /etc and/or $HOME, and both of those directories have MANY
files.

> 2) If it does, include its contents for processing.

Include it in what?

>
> Might anyone be able to give a quick example?

Probably could if I could figure out what you were talking
about.

>
> Thanks, Rob
>

"...Quoth the penguin, 'pipe grep more.'"

:-)

Know where the word 'grep' came from?

AC


--
alanconnor AT earthlink DOT net
Use your real return address or I'll never know you
even tried to mail me. http://tinyurl.com/2t5kp
~