bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: base64 tool?


From: P
Subject: Re: base64 tool?
Date: Tue, 21 Dec 2004 17:29:18 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124

Simon Josefsson wrote:
Is a base64 encode/decode tool suitable for coreutils?

I typically use `M-: (base64-encode-string "foo")' in Emacs, but I
have found I often want a command line tool as well.  And `echo
foo|base64' is easier to type.

There is a base64 module in gnulib that I think would be suitable for
this.  It should probably not read in the entire file in memory,
though.

I'm thinking:

Usage: base64 [OPTION] [FILE]...

A general "codec" util would probably be better?
i.e. codec --{de,en}code --codec={base64,uu,hexdump,quoted_print,...}

This would of course overlap a lot with existing stuff,
especially http://recode.progiciels-bpi.ca/

--
Pádraig Brady - http://www.pixelbeat.org
--




reply via email to

[Prev in Thread] Current Thread [Next in Thread]