|
|
1.1 root 1: .TH PQ 7
2: .SH NAME
3: pq \- telephonet directory assistance
4: .SH SYNOPSIS
5: .B pq
6: [
7: .I option ...
8: ]
9: .I query
10: .SH DESCRIPTION
11: .I Pq
12: queries `Post' directory assistance computers
13: for information from the AT&T phone book. A normal
14: query is a name, in the form
15: .IB first.middle.middle2.last,suffix,
16: where only
17: .I last
18: is required.
19: Earlier names may be truncated, even to a null string,
20: and extra punctuation may be dropped.
21: Other fields can be specified, in the form
22: .IB attribute = value,
23: with fields separated by
24: .BR / .
25: The attributes are
26: .TP
27: .B pn
28: .TP
29: .B name
30: personal (full) name; for prefix match on last name, append
31: .B *
32: or
33: .BR ... ;
34: for phonetic search, append or prepend
35: .B ?
36: .HP
37: .BR first ,
38: .BR middle ,
39: .BR middle2 ,
40: .BR last ,
41: .B suffix
42: .br
43: parts of name, prefix-matched except for suffix
44: .HP
45: .BR pid ,
46: .B ssn
47: .br
48: personnel identification number,
49: social security number
50: .TP
51: .B org
52: organization code
53: .TP
54: .B tl
55: title: abbreviated or prefix-matched; e.g.
56: .BR tl=dh,
57: .B tl=dep.he
58: .TP
59: .B tel
60: phone number: (908)582-6050, punctuation optional, parts may be omitted from left
61: .HP
62: .BR area ,
63: .BR exch ,
64: .B ext
65: .br
66: parts of phone number
67: .TP
68: .B loc
69: location code; for prefix match, append
70: .B *
71: .HP
72: .BR room ,
73: .BR street ,
74: .BR city ,
75: .BR state ,
76: .B zip
77: .br
78: parts of address, prefix-matched except for state
79: .TP
80: .B ema
81: email address; for prefix match, append *
82: .TP
83: .B multi
84: which of multiple addresses for one employee; e.g.
85: .B multi=2
86: .PD
87: .PP
88: The options are
89: .TP
90: .B -l
91: The query is a location code.
92: .TP
93: .BI -o " format
94: Provide output in the specfied
95: .I format,
96: a string like that of
97: .IR printf (3),
98: with format codes being attribute names.
99: .SH EXAMPLES
100: .PD 0
101: .TP
102: .B pq penzias
103: .TP
104: .B pq a.a.penzias
105: .TP
106: .B pq ema=research!aap
107: Three ways to find a person.
108: .TP
109: .B pq loc=mh/room=2b519
110: Find members of an office.
111: .TP
112: .B pq \-l mt
113: Find information about a location.
114: .TP
115: .B
116: pq \-o "%24pn %10org %6loc %6room %12tel %ema" a.a.penzias
117: The default output format.
118: .PD
119: .SH FILES
120: .TP 30
121: $POST/lib/dispatch
122: directory configuration file
123: .SH SEE ALSO
124: tel (7)
125:
126:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.