Parsing the output of --list-keys
Jonas Steverud
d4jonas@dtek.chalmers.se
13 Jan 2000 20:34:39 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I work on a set of elisp functions that will syncronize GnuPG's public
keyring and the BBDB's pgp-mail field (see mc-bbdb.el and bbdb-pgp.el,
don't know where you can get the latter but the former is available
from <URL:http://www.kaidea.freeserve.co.uk/elisp.html>).
My question is; is there an easy way of getting a list of who is in
the keyring and his email addresses?
What I want is something like:
"John A" email1@somewhere email2@somewhere
"Anne" a@b.c d@.e.f
It would be much easier for me to parse then the current output of
- --list-keys. I assume I can write something in awk but I though I
might ask first since I'm bored of inventing the wheel over and over
again.
Clear as mud?
- --
( GPG/PGP key @ www.dtek.chalmers.se/~d4jonas/ ! Wei Wu Wei )
( U2MoL, Roleplaying, LaTeX, Emacs/Gnus, SCWM, etc. ! To Do Without Do )
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (SunOS)
Comment: Processed by Mailcrypt and Gnu Privacy Guard <www.gnupg.org>
iD8DBQE4fijOYFmxFYdMVIkRAgJOAJ4/smX7RxUEGarTnviGl50THtKMywCcDhDj
HqHm91pVAjK3UVMogbSeJNs=
=eGJW
-----END PGP SIGNATURE-----