This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# contacts_query.sh | |
# Andrew Goldstone, July 2017. All yours to use or modify, but no promises. | |
# | |
# The mutt e-mail client has an option to query an external address book for | |
# e-mail addresses. On a Mac it is nice to be able to query the Address Book | |
# (now known as Contacts). For a while I used a utility called contacts | |
# (http://gnufoo.org/contacts) but this stopped working under Sierra. There is | |
# an official API for querying Contacts as a unified datastore, but it is only |