[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9352.0. "how to decode base64?" by GIDDAY::STRAUSS (talking through my binoculars) Wed Apr 02 1997 02:44

    Is there a UNIX tool which can decode base64 data?
    Something equivalent to uudecode?
    
    I've inherited a file containing base64-encoded data which I want to
    decode back into plain text.  The only suggestions I've seen so far
    have involved mailing the file to myself using a mailer which supports
    MIME.  Surely there's an easier way?
    
    Thanks in advance for any hints.
    
    	leon
T.RTitleUserPersonal
Name
DateLines
9352.1See LJSRV2::INTERNET_TOOLS note 1486VIRGIN::SUTTERWho are you ??? - I'm BATMAN !!!Wed Apr 02 1997 03:591
See LJSRV2::INTERNET_TOOLS note 1486
9352.2See also: mpack/munpackSUBPAC::FARICELLIWed Apr 02 1997 14:458
  See also: mpack/munpack.  Mpack/munpack is available
  from ftp://ftp.andrew.cmu.edu/pub/mpack

  Just "make" on Digital Unix.
  With some judicious commenting, I was able to compile munpack on VMS.

  -- John Faricelli
9352.3HELIX::SONTAKKEThu Apr 03 1997 12:2813
    Also do AltaVista for "+BASE64 +encdec"
    
    I found encdec.c program, nothing fancy but it works fine.
    
    kamlia 14% encdec   
    encdec: usage: encdec -e/-d -b/-q
    Encdec encodes or decodes stdin
    and prints the result to stdout.
            -e      encode
            -d      decode
            -b      use base64
            -q      use quoted-printable
    
9352.4munpack worked!GIDDAY::STRAUSStalking through my binocularsThu Apr 03 1997 17:089
    Thanks to everyone for the fast and varied responses!
    
    In the end, munpack did the job - which was to show a customer that
    the base64-encoded log file he had sent me didn't contain the
    information I needed to solve his problem ...
    
    Thanks again
    
    	leon