mutt_vc_query(1)

mutt_vc_query1

Vcard query utility for mutt

Usage

mutt_vc_query [{-m | -e}] [-t type] [-f datafile] query

mutt_vc_query [-v]

mutt_vc_query [-V]

mutt_vc_query [-h]

Overview

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.

-a

Output all email addresses associated with a contact, instead of just the preferred address.

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

Files

~/.rolo/contacts.vcf

Default data file that mutt_vc_query will query.

Examples

To query for the string "Hsu" and have the miscellaneous field be populated by the type "NICKNAME":

mutt_vc_query -t NICKNAME Hsu

Diagnostics

The mutt_vc_query utility exits 0 on success, and >0 if an error occurs.

Releases

7 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0–9
  2. 10–13

-a since Debian 10 (Buster).

Authors

Andrew Hsu ⟨[email protected]⟩

Bugs

Man page is not finished yet.

From mutt-vc-query 005-3 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.