Skip to Content.
Sympa Menu

microid - Re: [Microid] MicroID Python code + comments on the spec

microid AT lists.ibiblio.org

Subject: Microid mailing list

List archive

Chronological Thread  
  • 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?




Archive powered by MHonArc 2.6.24.

Top of Page