On Tue, 21 Dec 2004, Simon Josefsson wrote:
>I was looking for something simpler, preferably the tool should even be
>called 'base64' so TAB completion works. Perhaps base64 is not yet as
>widely used to motivate it being part of coreutils, though. Just
>because I often need such a tool doesn't
[EMAIL PROTECTED] writes:
> 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 base
> Is a base64 encode/decode tool suitable for coreutils?
As Padraig noted, GNU recode does this:
$ echo foo|recode ../64
Zm9vCg==
$ echo foo|recode ../64|recode /64
foo
but I find the syntax to be obscure.
And it's not always available.
___
B
On Tue, Dec 21, 2004 at 12:25:56PM +0100, Simon Josefsson wrote:
> I'm thinking:
>
> Usage: base64 [OPTION] [FILE]...
> Encode binary data using printable characters.
> With no FILE, or when FILE is -, read standard input.
Alternatively, we could use a two-line Perl script with MIME::Decoder.
J
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 su
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
Paul Eggert wrote:
> A couple of other things. The Bison documentation says that
> YYSTACK_USE_ALLOCA must be defined to 0 if it is defined to anything.
But then the second to fourth line of the following bison output are useless.
# ifdef YYSTACK_USE_ALLOCA
# if YYSTACK_USE_ALLOCA
# define YY
Matt Kraai <[EMAIL PROTECTED]> wrote:
> Package: coreutils
> Version: 5.2.1-2
>
> $ csplit --help | head -3
> Usage: csplit [OPTION]... FILE PATTERN...
> Output pieces of FILE separated by PATTERN(s) to files `xx01', `xx02', ...,
> and output byte counts of each piece to standard output.
>
> Wh