On Mon, 26 Jul 2010 10:01, m...@proseconsulting.co.uk said:

> gpg --fingerprint --list-keys "$1" |\
>     $AWK -v tmpfile="$TMPFILE" -v trustlevel="$2" '

Please use --with-colons for all scripts.  The standard output is only
for humans.  Something like

 gpg --with-colons  --with-fingerprint --list-keys "$1" |\
     $AWK -F: -v tmpfile="$TMPFILE" -v trustlevel="$2" '
         $1 == "fpr" { fpr=$10 }

should do the job.



Salam-Shalom,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to