procmail
[Top] [All Lists]

Re: Hard one for the gurus - Extracting files from a uuencoded mess age

2002-08-14 12:53:49
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"

-- 
Reply to list please, or append "8" to "procmail" in address if you must.
Spammers' unrelenting address harvesting forces me to this...reluctantly.


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