Basename()2006-12-04 08:18:06This code returns the Basename of the current rc-file in $MATCH:
NL = '
'
SETMATCH = '$ _1 ?? ()${_2}'
_1 = $_
_2 = '\/[^/]+'
:0 # get Basename
*$ $SETMATCH
{ LOG = $MATCH$NL }
--
Groet, Ruud
____________________________________________________________
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
|
|
||||||||||||||||