uudecoder


This is a simple "script" that uses sed to expedite the uudecoding of multipart files. It was orginally devised by Rahul Dhesi during his period as moderator for comp.binaries.ibm.pc. He simply added BEGIN and END to the begining and ending of uuencoded messages and then had users run them through the following:

cat $* | sed '/^END/,/^BEGIN/d' | uudecode

The result is a properly decoded file with little work It is deceptively simple and only shows it complexity when one tries to duplicate it in another language.