uudecode - decode a binary file


        # decode to the name in the header
        % uudecode file.uu

        # decode to the name on the command line
        % uudecode -o output.txt file.uu

        # decode to standard output despite the header
        % uudecode -o - file.uu


This program decodes a uuencoded file and saves the results to the file denoted in the header line. If that filename is -, the output goes to standard output.

You can override the file named in the uuencoded text by supplying a second command-line argument.


Originally by Nick Ing-Simmons but since irrecognizably hacked on by Tom Christiansen. brian d foy further packaged, improved, and tested it.