MUTT_VC_QUERY(1)
π mutt_vc_query β the vCard query bestie π
okay so this is mutt_vc_query, a vCard query utility for mutt, and it lives in section 1 of the manual (LOCAL, if you're keeping track). she's a little utility, she's a little iconic, and she is about to make your contacts findable. periodt. β¨
β¨ SYNOPSIS β¨
mutt_vc_query [-m | -e] [-t type] [-f datafile] query
mutt_vc_query [-v]
mutt_vc_query [-V]
mutt_vc_query [-h]
πΈ DESCRIPTION πΈ
so, what is she? a vCard query utility for mutt π«Ά. you can run her straight from your shell prompt for lil ad-hoc queries, and honestly go off, but her real main character energy is being used by mutt's query_command option. like, that's her calling.
so like, put this exact line in your ~/.muttrc file and let her cook:
set query_command = "mutt_vc_query '%s'"
the search using the query string you give her is case insensitive, no cap. π
and now the options, bestie, every single one:
-eβ sorts the results by email.-aβ outputs all the email addresses tied to a contact, instead of just the preferred address. all of them. the whole roster. π-fβ uses the datafile to perform the query.-hβ displays usage help.-mβ sorts the results by the miscellaneous field.-tβ uses the type you specify for the miscellaneous field.-vβ displays the version.-Vβ displays the copyright and license. (yes she has paperwork π )
π FILES π
~/.rolo/contacts.vcfβ the default data file thatmutt_vc_querywill query. that's her home base, her safe space, her whole vibe. π¦
π§ EXAMPLES π§
say you wanna query for the string "Hsu" and have the miscellaneous field be populated by the type "NICKNAME". easy. slay:
mutt_vc_query -t NICKNAME Hsu
that's it. that's the whole flex. π₯
π DIAGNOSTICS π
the mutt_vc_query utility exits 0 on success, and >0 if an error occurs. so if you get a zero, she ate. if you get anything else, something's giving wrong and you should investigate. π
π SEE ALSO π
iykyk. go read those next, bestie.
π AUTHORS π
- Andrew Hsu
<ahsu@users.sf.net>
the icon, the legend, the moment. we stan. π
π BUGS π
Man page is not finished yet.
literally not me being the one to tell you this, the page says it itself. so like, keep that in mind and don't come for me. π
and that's the whole page, babe π«Ά this was written from the Debian build, dated May 14, 2003, and it's the MUTT_VC_QUERY(1) man page, so if you ever need her again just holler man mutt_vc_query and she'll be right there. mwah π
π¦ where this page comes from
- debian bookworm: mutt-vc-query 005-2 Β· GPL-2.0-or-later
- debian trixie: mutt-vc-query 005-3 Β· GPL-2.0-or-later
- ubuntu jammy: mutt-vc-query 005-1 Β· GPL-2.0-or-later
- ubuntu noble: mutt-vc-query 005-3 Β· GPL-2.0-or-later
- ubuntu questing: mutt-vc-query 005-3
- ubuntu resolute: mutt-vc-query 005-4 Β· GPL-2.0-or-later
- ubuntu stonking: mutt-vc-query 006-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms