Reference

addr-tel(1)

Fast access to addressbook database

Part of address(1).

NAME

matchaddress, matchtel, matchemail, matchfax, matchletter, matchbirthday - Fast access to addressbook database

SYNOPSIS

matchaddress [options] person
matchtel [options] person
matchemail [options] person
matchfax [options] person
matchletter [options] person
matchbirthday [options] person

DESCRIPTION

matchaddress is a program to provide light-weight access to the addressbook database.

matchtel prints all known phone numbers of a person.

matchemail prints the email address for a person.

matchfax print the fax number for person.

matchletter prints the address for a person as you would write it on a letter.

matchbirthday prints the person's birthday.

Note that the program will match all the people matching the substring person. Multiple substrings are not supported.

OPTIONS

All programs take the same options.

-s

Short form, prints only the matching data, not the person or people that matched.

-l

Long form, prints the matching person or people as well as the requested data.

-f name

Output the data found in the field named name.

-n number

Output the data found in the field numbered number, which tends to be extremely fast.

-a file

Search the addressfile addrfile rather than the default address file.

-c file

Read configuration from the file file rather than the default configuration file.

-ld dir

Use the directory dir to as the library dir instead of the default.

-db number

Set the debug level to number.

ENVIRONMENT

The following environment variables affect the behavior of matchaddress:

ADDRBOOK_ADDRFILE

Sets the address file, same effect as the option -a above.

addressbook(1)

SEE ALSO

History