Title says it all. ABQuery takes one argument, a string to search for. Search your address book from the command line. You can search with substrings.

http://ericasadun.com/?p=136

This article is over 2 years old — the linked page may have changed, moved, or been taken over since then.