summaryrefslogtreecommitdiff
path: root/static/v10/man1/pq.1
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
commit711594636704defae873be1a355a292505585afd (patch)
tree59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man1/pq.1
parent3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff)
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man1/pq.1')
-rw-r--r--static/v10/man1/pq.152
1 files changed, 52 insertions, 0 deletions
diff --git a/static/v10/man1/pq.1 b/static/v10/man1/pq.1
new file mode 100644
index 00000000..7cfec15c
--- /dev/null
+++ b/static/v10/man1/pq.1
@@ -0,0 +1,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).