On 19/06/13 00:10, Hauke Laging wrote:
> gpg --with-colons --fingerprint | awk -F: '$1 == "fpr" {print $10;}'

>> when the output ever changes
> 
> It won't (it's designed not to change).

At the risk of sounding pedantic, let me point out that the output you get with
--with-colons is designed not to change. --with-colons is an option added
precisely because the output without that option might change and break scripts.

HTH,

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>

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

Reply via email to