pn - Phone/Address book lookup and editor
pn [ options ] search terms ...
looks up phone numbers and addresses, and allows editing the address
Within the document, entries are delineated by blank lines--effectively,
paragraphs. Searches are case-blind and performed against entire paragraphs, so
criteria need not match on a single line.
If goobook(1) is
installed, that address book is searched as well.
Although pn was written for address books, it can be repurposed for
other paragraph-oriented or similar files using the -g and -f
options and shell alias command to select other files.
- -f, --file=file
Specify the address book file.
- -e, --edit
Edit the address book using the editor
specified by the VISUAL or EDITOR environment variables, or
vi(1) by default.
- -g, --no-goobook
Suppress searching of goobook.
An alternate path for the
address book. Overriden by -f.