PN ( 1 ) USER COMMANDSPN ( 1 )


NAME

pn - Phone/Address book lookup and editor

SYNOPSIS

pn [ options ] search terms ...

DESCRIPTION

pn looks up phone numbers and addresses, and allows editing the address book.

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.

OPTIONS

-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.

FILES

phonelist.txt

The default address book.

ENVIRONMENT

PHONELIST

An alternate path for the address book. Overriden by -f.

SEE ALSO

cloud(1), goobook(1)

IMPLEMENTATION

version

pn 45 2018-11-16 17:11:51Z perette
author

Perette Barella <perette@deviousfish.com>