microid AT lists.ibiblio.org
Subject: Microid mailing list
List archive
Re: [Microid] MicroID Python code + comments on the spec
- From: "Paco NATHAN" <ceteri AT gmail.com>
- To: microid AT lists.ibiblio.org
- Subject: Re: [Microid] MicroID Python code + comments on the spec
- Date: Wed, 3 Jan 2007 15:35:32 -0600
you could get rid of newlines from a shell command by using "tr", like this:
paco$ (echo "xmpp:stpeter AT jabber.org" | openssl dgst -sha1; echo
"https://www.xmpp.net/" | openssl dgst -sha1) | tr -d "\n\r" | openssl
dgst -sha1
876406a259a424028444755381a83f14a8e04bd0
paco
On 1/3/07, Peter Saint-Andre <stpeter AT jabber.org> wrote:
Erk, I don't see how to remove the newline from my files and when I run
openssl at the command line with stdin I get the same result (because I
need to hit return in order for it to give me output).
Eran, could you send me the intermediate output as well?
-
[Microid] MicroID Python code + comments on the spec,
Eran Sandler, 01/03/2007
- Re: [Microid] MicroID Python code + comments on the spec, Fred Stutzman, 01/03/2007
-
Re: [Microid] MicroID Python code + comments on the spec,
Peter Saint-Andre, 01/03/2007
-
Re: [Microid] MicroID Python code + comments on the spec,
jer, 01/03/2007
-
Re: [Microid] MicroID Python code + comments on the spec,
Peter Saint-Andre, 01/03/2007
- Re: [Microid] MicroID Python code + comments on the spec, Paco NATHAN, 01/03/2007
-
Re: [Microid] MicroID Python code + comments on the spec,
Peter Saint-Andre, 01/03/2007
- Re: [Microid] MicroID Python code + comments on the spec, Terrell Russell, 01/04/2007
-
Re: [Microid] MicroID Python code + comments on the spec,
Peter Saint-Andre, 01/03/2007
-
Re: [Microid] MicroID Python code + comments on the spec,
jer, 01/03/2007
- <Possible follow-up(s)>
- Re: [Microid] MicroID Python code + comments on the spec, eran, 01/03/2007
Archive powered by MHonArc 2.6.24.