Robert Allerstorfer wrote:
So the complete "final" solution (which I am considering the best one)
to the original question (conditionally calling an rc file if it is
actually readable) would now be the following one for me:
TEST = /usr/bin/test
# be sure to specify the correct path
my_INCLUDERC = /path/to/my_includefile.rc
Since we're allowing that the filename might include embedded
whitespace, that line has to be,
my_INCLUDERC = "/path/to/my_includefile.rc"
:0
* ? $TEST -r "$my_INCLUDERC"
{ INCLUDERC = $my_INCLUDERC }
Hmm. Quoting
{ INCLUDERC = "$my_INCLUDERC" }
probably isn't necessary.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail