On Sat, 08 Jan 2005, 23:37 GMT+01 Dallman Ross wrote:
#################################################
:0
* 1^1 FOO ?? .
* $ -$LOP^0
{
LEN = $=
INCLUDERC = lop.rc
}
#################################################
And here's the lop.rc:
#################################################
:0
* $ $LEN^0
* -1^0 FOO ?? ^^\/.
{
LEN = $=
BAR = "$BAR$MATCH"
SWITCHRC = $_
}
FOO = "$BAR$MATCH"
#################################################
My 'av_split.inc' is basically doing the same as these two files,
but in a more general way, and combined within one single file.
# Example: av_SPLIT_STRING = "aaaBBBB" av_N = 3 av_SPLIT_LEFT
# => av_SPLIT_LEFT = "aaa" av_SPLIT_RIGHT = "BBBB"
I always liked to conditionally include a sub routine. Until now, it
seems you did not like this technique.
rob.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail