File: mutt_vc_query.1

package info (click to toggle)
mutt-vc-query 002-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 408 kB
  • ctags: 37
  • sloc: sh: 815; ansic: 435; makefile: 12
file content (71 lines) | stat: -rw-r--r-- 1,603 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.\" Process this file with
.\" groff -man -Tascii mutt_vc_query.1
.\" $Id: mutt_vc_query.1,v 1.6 2003/05/19 07:32:30 ahsu Rel $
.Dd May 14, 2003
.Os
.Dt MUTT_VC_QUERY 1
.Sh NAME
.Nm mutt_vc_query
.Nd vCard query utility for mutt
.Sh SYNOPSIS
.Nm mutt_vc_query
.Oo
.Fl m |
.Fl e
.Oc
.Op Fl t Ar type
.Op Fl f Ar datafile
.Ar query
.Nm mutt_vc_query
.Op Fl v
.Nm mutt_vc_query
.Op Fl V
.Nm mutt_vc_query
.Op Fl h
.Sh DESCRIPTION
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
.Qo query_command Qc option.  Place the following line in your
.Qo ~/.muttrc Qc file:
.Pp
.Dl set query_command = Qo mutt_vc_query '%s' Qc
.Pp
The search using the given query string will be case insensitive.
The options are as follows:
.Bl -tag -offset indent -width "-V"
.It -e
Sort the results by email.
.It -f
Use the datafile to perform the query.
.It -h
Display usage help.
.It -m
Sort the results by the miscellaneous field.
.It -t
Uses the specified type for the miscellaneous field.
.It -v
Display the version.
.It -V
Display the copyright and license.
.El
.Sh FILES
.Bl -tag -width "~/.rolo/contacts.vcf" -compact
.It Pa ~/.rolo/contacts.vcf
Default data file that mutt_vc_query will query.
.El
.Sh EXAMPLES
To query for the string
.Qo Hsu Qc and have the miscellaneous field be populated by the type
.Qo NICKNAME Qc :
.Pp
.Dl mutt_vc_query -t NICKNAME Hsu
.Sh DIAGNOSTICS
.Ex -std mutt_vc_query
.Sh SEE ALSO
.Xr muttrc 5 ,
.Xr rolo 1
.Sh AUTHORS
.An "Andrew Hsu" Aq ahsu@users.sf.net
.Sh BUGS
Man page is not finished yet.