Re: base64 translation
On Tue, Dec 02, 2003 at 06:10:59AM -0700, user list wrote:
> Thanks very much for the reply. The file is powerpoint. I will try your
> first suggestion since a. I don't know perl (yet?) and b. I know nothing
> of base64 encoding.
>
> Art Edwards
>
> On Tue, Dec 02, 2003 at 01:01:29PM +0100, HdV@DTO.TUDelft.NL wrote:
> > On Tue, 2 Dec 2003, Arthur H. Edwards wrote:
> >
> > > I'm trying to decode an applefile ppt that is in base64 coding. I have
> > > read that there is a utility base64-decode that might work? Because
> > > packages is down, can someone tell me the appropriate package(s) to
> > > read?
> >
> > Well, if the contents of that file aren't too big you could do something
> > like this:
> >
> > perl -MMIME::Base64 -le 'print decode_base64("<encoded_text>")'
> >
> > Otherwise you might want to write a 5-line perl script for it.
Which is included in libmime-base64-perl. Visit
/usr/share/doc/libmime-base64-perl/examples.
--
Ogden's Law:
The sooner you fall behind, the more time you have to catch up.
Reply to: