While this shell command

echo -n "net.berrysoft.dib.Game" | gpg --print-md sha1

gives me the correct response, when I try to do this in a script using ${1}:

digest = $( echo -n ${1} | gpg --print-md sha1 )
echo digest

I do not get the same value!!!!  I have no clue why.  Help.

Patrick

-- 
View this message in context: 
http://www.nabble.com/problem-with-echoing-script-variable-to-gpg-tp21068924p21068924.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.



Reply via email to