Base64 in Redhat9, SuSe10, ...

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Tue Jun 27 16:21:02 UTC 2006


On Tue, Jun 27, 2006 at 11:40:57AM -0400, John Van Ostrand wrote:
> On Tue, 2006-06-27 at 11:38 -0400, William Park wrote:
> 
> > On Slackware, I have 'mimencode' (part of Metamail package) which does
> > Base64 encoding/decoding.  I looked into Redhat 9 and SuSE 10, and can't
> > find anything comparable.  How do you guys encode/decode base64?
> 
> #!/usr/bin/perl
> #
> #
> use MIME::Base64;
> 
> while (<>) {
>         chomp;
>         print decode_base64($_);
> }

Hey, that's cheating. :-)  Thanks.

-- 
William Park <opengeometry-FFYn/CNdgSA at public.gmane.org>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
	   http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
	  http://freshmeat.net/projects/bashdiff/
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list