blob: 7cfec15c3b79928c5fd5489a79655c9dc3e20cab (
plain)
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
|
.TH PQ 1 "Post 4.0" " "
.SH NAME
pq \- directory query interface
.SH SYNOPSIS
.B pq
.RB [ \-l ]
[directory query options] query ...
.SH DESCRIPTION
.I pq\^
is a fast directory query interface; the
.I "directory query options"
and
.I query
are defined in
.IR post (1).
Unlike
.BR "post \-w" ,
.I pq
does not recognize aliases and
.BR \-q ,
and only uses the
.B POST
environment variable.
.TP
.B \-l
Query location directory; equivalent to
.br
.B
\-a loc \-o "%6loc %12tel [%3cornet] %street, %city, %state, %zip"
.SH EXAMPLES
.PD 0
Query directory for members of an office:
.IP
pq loc=mh/room=2b519
.PP
Query directory for location information:
.IP
pq \-l mt
.PP
Query directory for cornet number of a location:
.IP
pq \-l \-o %cornet ih
.PD
.SH FILES
.TP 30
$POST/lib/dispatch
directory configuration file
.SH SEE ALSO
post(1),
pq(3C),
dispatch(4),
modules(4).
|