On Sat, 08 Jan 2005, 21:30 GMT+01 Ruud H.G. van Tol wrote:
[...]
That remark is about strings like "xxxxxx6xxx6xxx6xxxx".
[your recipe]
(untested)
I haven't tested your recipe as well, but my solution will also work
on this string:
my_VAR = 'xxxxxx6xxx6xxx6xxxx'
av_INSTALLDIR = '/etc/procmailrcs/SoftlabsAV'
av_SPLIT_STRING = $my_VAR
av_N = '17'
av_SPLIT_LEFT
INCLUDERC = "$av_INSTALLDIR/inc/av_split.inc"
my_result = $av_SPLIT_LEFT
LOG = "'$my_VAR' -> '$my_result' + '$av_SPLIT_RIGHT'
"
This will write
'xxxxxx6xxx6xxx6xxxx' -> 'xxxxxx6xxx6xxx6xx' + 'xx'
into the log file.
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