* Don Hammond <procmail(_at_)tradersdata(_dot_)com> [20020814 22:53]: wrote:
On 14 Aug, Odhiambo G. Washington wrote:
| * Don Hammond <procmail(_at_)tradersdata(_dot_)com> [20020814 21:57]: wrote:
| [...]
| >
| > :0b:uue.lock
| > * ^From:(_dot_)*subscribe(_at_)drweb(_dot_)ru
| > * B ?? ^begin [0-7][0-7][0-7] \/.*
| > * B ?? ^end$
| > * 1^3 B ?? ^M
| > |uudecode >"/path/to/final/destination/$MATCH"
|
| Hello Don,
|
| This recipe gives me a zero-sized zipped file.
|
| I could do better if it could also unzip the file , in case the recipe
| can get some facelift ;-)
|
Yes, sorry. As Udi pointed out, uudecode has no standard output. Change
the action line to:
|uudecode -o "/path/to/final/destination/$MATCH"
Cool ;-)
This works, only I don't know how to tell it to go ahead and unzip the $MATCH.
-Wash
--
/"\
Odhiambo Washington \ / ASCII Ribbon Campaign
Wananchi Online Ltd., X Against HTML Mail,
PO Box 10286, / \ HTML News Too, and
00100 NAIROBI, KE. MS WORD docs.
++
Reading is thinking with someone else's head instead of one's own.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail