On 18/12/2019 09:32, Werner Koch via Gnupg-users wrote:
> The  -F:::::: is an interesting hack but Andrew's or my variant works
> with all AWK implementations:
> 
>    awk -F: '$1=="fpr" {print $10}' | head -1

Aha, I forgot about handling multiple results. Note that you don't need
head if you're already using awk:

        awk -F: '$1=="fpr" {print $10; exit}'

:-D

-- 
Andrew Gallagher

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to