procmail
[Top] [All Lists]

Re: moving from new to cur

2000-10-22 16:51:10
MaD dUCK <madduck(_at_)madduck(_dot_)net> writes:
I repeat: if your copy of procmail puts the temp file name into
LASTFOLDER, then it's broken.  From the filenames involved it looks like
you're version 3.13 with the patch that was floating around last year.
Upgrade to version 3.15 and try it again.

i wish i could but i am only a user on that system. we are indeed running
v3.13.1. so i guess i just have to hack my recipe up with sed, right?

Nah.  Just use $MATCH twice in the mv command:
        :0ai
        * LASTFOLDER ?? ()\/[^/]+^^
        | mv new/$MATCH cur/$MATCH:2,S


Philip Guenther

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>