mutt_vc_query
—
vCard query utility for mutt
mutt_vc_query |
[-m | -e ]
[-t type]
[-f datafile]
query |
A vCard query utility for mutt. This utility can be used at the shell prompt to
perform ad-hoc queries, but it is meant to be used by mutt's
“query_command” option. Place the following line in your
“~/.muttrc” file:
set query_command =
“mutt_vc_query '%s'”
The search using the given query string will be case insensitive.
The options are as follows:
- -e
- Sort the results by email.
- -f
- Use the datafile to perform the query.
- -h
- Display usage help.
- -m
- Sort the results by the miscellaneous field.
- -t
- Uses the specified type for the miscellaneous field.
- -v
- Display the version.
- -V
- Display the copyright and license.
- ~/.rolo/contacts.vcf
- Default data file that mutt_vc_query will query.
To query for the string “Hsu” and have the miscellaneous field be
populated by the type “NICKNAME”:
mutt_vc_query -t NICKNAME
Hsu
The mutt_vc_query
utility exits 0 on success,
and >0 if an error occurs.
Andrew Hsu ⟨ahsu@users.sf.net⟩
Man page is not finished yet.