I’ve been looking for a simple way to extract parts of a uuencoded file and stumbled over an old sed paper covering sed one-liners.
However, Use sed to extract multi-part uuencoded binaries and to remove extraneous header info, so that only the uuencoded portion remains. Files passed to sed must be passed in the proper order.sed '/^end/,/^begin/d' file1 file2 ... fileX | uudecode