> please don't script based on the output of gpg without using
> --with-colons.
Correction noted, thank you. Have one in return. :)
> for fpr in $(gpg --with-colons --list-keys | \
> awk -F: '/^fpr:/{ print $10 }'); do \
> gpg --edit-key "fpr" clean save; done
"fpr" should be $fpr, I think.