View Single Post
Old 06-18-2010, 02:56 PM   #8
clarknova
Addict
clarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with othersclarknova plays well with others
 
clarknova's Avatar
 
Posts: 241
Karma: 2617
Join Date: Mar 2009
Location: Greenwood, SC
Device: Kindle 2
Quote:
Originally Posted by schaefer View Post
Still a different result. Here's the command I'm using

echo -n "/mnt/us/documents/hackermonthly-issue1.pdf" | openssl sha1
That similar command line works for my collections on linux, and the above gives "1d71ee1d02b3a543980d690d8d4026a8be73e3ca" as does using sha1sum instead of openssl.

According to the Mac OS X man pages, echo is posix compatible and supports the -n flag as it should.
clarknova is offline   Reply With Quote