bug-coreutils
[Top][All Lists]
Advanced

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

Re: base64 tool?


From: Philip Rowlands
Subject: Re: base64 tool?
Date: Wed, 22 Dec 2004 00:01:40 +0000 (GMT)

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 mean everyone does, I guess.

There's the "base64" openssl applet, which can use argv[0]:

$ ln -s /usr/bin/openssl base64
$ echo "This is a test" | ./base64
VGhpcyBpcyBhIHRlc3QK
$ echo VGhpcyBpcyBhIHRlc3QK | openssl base64 -d
This is a test


Cheers,
Phil




reply via email to

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