xref: /netbsd-src/external/bsd/mdocml/dist/apropos.1 (revision 544c191c349c1704c9d5e679d12ec15cff579663)
1*544c191cSchristos.\"	Id: apropos.1,v 1.49 2018/11/22 12:33:52 schwarze Exp
2c5f73b34Sjoerg.\"
30d88b603Schristos.\" Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
4*544c191cSchristos.\" Copyright (c) 2011,2012,2014,2017,2018 Ingo Schwarze <schwarze@openbsd.org>
5c5f73b34Sjoerg.\"
6c5f73b34Sjoerg.\" Permission to use, copy, modify, and distribute this software for any
7c5f73b34Sjoerg.\" purpose with or without fee is hereby granted, provided that the above
8c5f73b34Sjoerg.\" copyright notice and this permission notice appear in all copies.
9c5f73b34Sjoerg.\"
10c5f73b34Sjoerg.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11c5f73b34Sjoerg.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12c5f73b34Sjoerg.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13c5f73b34Sjoerg.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14c5f73b34Sjoerg.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15c5f73b34Sjoerg.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16c5f73b34Sjoerg.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17c5f73b34Sjoerg.\"
18*544c191cSchristos.Dd November 22, 2018
19c5f73b34Sjoerg.Dt APROPOS 1
20c5f73b34Sjoerg.Os
21c5f73b34Sjoerg.Sh NAME
2270f041f9Sjoerg.Nm apropos ,
2370f041f9Sjoerg.Nm whatis
24cf816816Sjoerg.Nd search manual page databases
25c5f73b34Sjoerg.Sh SYNOPSIS
26c5f73b34Sjoerg.Nm
27c9bcef03Schristos.Op Fl afk
28cf816816Sjoerg.Op Fl C Ar file
2970f041f9Sjoerg.Op Fl M Ar path
3070f041f9Sjoerg.Op Fl m Ar path
31fec65c98Schristos.Op Fl O Ar outkey
32cf816816Sjoerg.Op Fl S Ar arch
33cf816816Sjoerg.Op Fl s Ar section
34cf816816Sjoerg.Ar expression ...
35c5f73b34Sjoerg.Sh DESCRIPTION
36c5f73b34SjoergThe
3770f041f9Sjoerg.Nm apropos
3870f041f9Sjoergand
3970f041f9Sjoerg.Nm whatis
4070f041f9Sjoergutilities query manual page databases generated by
41fec65c98Schristos.Xr makewhatis 8 ,
42fec65c98Schristosevaluating
43cf816816Sjoerg.Ar expression
44cf816816Sjoergfor each file in each database.
45fec65c98SchristosBy default, they display the names, section numbers, and description lines
46fec65c98Schristosof all matching manuals.
47c5f73b34Sjoerg.Pp
48c5f73b34SjoergBy default,
49c5f73b34Sjoerg.Nm
50cf816816Sjoergsearches for
51fec65c98Schristos.Xr makewhatis 8
52cf816816Sjoergdatabases in the default paths stipulated by
5370f041f9Sjoerg.Xr man 1
54*544c191cSchristosand uses case-insensitive extended regular expression matching
55fec65c98Schristosover manual names and descriptions
56fec65c98Schristos.Pq the Li \&Nm No and Li \&Nd No macro keys .
57fec65c98SchristosMultiple terms imply pairwise
58fec65c98Schristos.Fl o .
59c5f73b34Sjoerg.Pp
60fec65c98Schristos.Nm whatis
61fec65c98Schristosis a synonym for
62fec65c98Schristos.Nm
63fec65c98Schristos.Fl f .
64fec65c98Schristos.Pp
65fec65c98SchristosThe options are as follows:
66cf816816Sjoerg.Bl -tag -width Ds
67fec65c98Schristos.It Fl a
68fec65c98SchristosInstead of showing only the title lines, show the complete manual pages,
69fec65c98Schristosjust like
70fec65c98Schristos.Xr man 1
71fec65c98Schristos.Fl a
72fec65c98Schristoswould.
73fec65c98SchristosIf the standard output is a terminal device and
74fec65c98Schristos.Fl c
75fec65c98Schristosis not specified, use
76fec65c98Schristos.Xr more 1
77fec65c98Schristosto paginate them.
78fec65c98SchristosIn
79fec65c98Schristos.Fl a
80fec65c98Schristosmode, the options
81fec65c98Schristos.Fl IKOTW
82fec65c98Schristosdescribed in the
83fec65c98Schristos.Xr mandoc 1
84fec65c98Schristosmanual are also available.
85cf816816Sjoerg.It Fl C Ar file
86cf816816SjoergSpecify an alternative configuration
87cf816816Sjoerg.Ar file
88cf816816Sjoergin
89cf816816Sjoerg.Xr man.conf 5
90cf816816Sjoergformat.
91fec65c98Schristos.It Fl f
92fec65c98SchristosSearch for all words in
93fec65c98Schristos.Ar expression
94fec65c98Schristosin manual page names only.
95*544c191cSchristosThe search is case-insensitive and matches whole words only.
96fec65c98SchristosIn this mode, macro keys, comparison operators, and logical operators
97fec65c98Schristosare not available.
98fec65c98Schristos.It Fl k
99fec65c98SchristosSupport the full
100fec65c98Schristos.Ar expression
101fec65c98Schristossyntax.
102fec65c98SchristosIt is the default for
103fec65c98Schristos.Nm .
10470f041f9Sjoerg.It Fl M Ar path
105cf816816SjoergUse the colon-separated path instead of the default list of paths
106cf816816Sjoergsearched for
107fec65c98Schristos.Xr makewhatis 8
108cf816816Sjoergdatabases.
109cf816816SjoergInvalid paths, or paths without manual databases, are ignored.
11070f041f9Sjoerg.It Fl m Ar path
111cf816816SjoergPrepend the colon-separated paths to the list of paths searched
112cf816816Sjoergfor
113fec65c98Schristos.Xr makewhatis 8
114cf816816Sjoergdatabases.
115cf816816SjoergInvalid paths, or paths without manual databases, are ignored.
116fec65c98Schristos.It Fl O Ar outkey
117fec65c98SchristosShow the values associated with the key
118fec65c98Schristos.Ar outkey
119fec65c98Schristosinstead of the manual descriptions.
120cf816816Sjoerg.It Fl S Ar arch
121fec65c98SchristosRestrict the search to pages for the specified
122fec65c98Schristos.Xr machine 1
123fec65c98Schristosarchitecture.
124fec65c98Schristos.Ar arch
125*544c191cSchristosis case-insensitive.
126fec65c98SchristosBy default, pages for all architectures are shown.
127fec65c98Schristos.It Fl s Ar section
128fec65c98SchristosRestrict the search to the specified section of the manual.
129fec65c98SchristosBy default, pages from all sections are shown.
130cf816816SjoergSee
131cf816816Sjoerg.Xr man 1
132fec65c98Schristosfor a listing of sections.
133cf816816Sjoerg.El
134cf816816Sjoerg.Pp
135c9bcef03SchristosThe options
136c9bcef03Schristos.Fl chlw
137c9bcef03Schristosare also supported and are documented in
138c9bcef03Schristos.Xr man 1 .
139c9bcef03SchristosThe options
140c9bcef03Schristos.Fl fkl
141c9bcef03Schristosare mutually exclusive and override each other.
142c9bcef03Schristos.Pp
143fec65c98SchristosAn
144cf816816Sjoerg.Ar expression
145fec65c98Schristosconsists of search terms joined by logical operators
146fec65c98Schristos.Fl a
147fec65c98Schristos.Pq and
148fec65c98Schristosand
149fec65c98Schristos.Fl o
150fec65c98Schristos.Pq or .
151fec65c98SchristosThe
152fec65c98Schristos.Fl a
153fec65c98Schristosoperator has precedence over
154fec65c98Schristos.Fl o
155fec65c98Schristosand both are evaluated left-to-right.
156fec65c98Schristos.Bl -tag -width Ds
157fec65c98Schristos.It \&( Ar expr No \&)
158fec65c98SchristosTrue if the subexpression
159fec65c98Schristos.Ar expr
160fec65c98Schristosis true.
161fec65c98Schristos.It Ar expr1 Fl a Ar expr2
162fec65c98SchristosTrue if both
163fec65c98Schristos.Ar expr1
164fec65c98Schristosand
165fec65c98Schristos.Ar expr2
166fec65c98Schristosare true (logical
167fec65c98Schristos.Sq and ) .
168fec65c98Schristos.It Ar expr1 Oo Fl o Oc Ar expr2
169fec65c98SchristosTrue if
170fec65c98Schristos.Ar expr1
171fec65c98Schristosand/or
172fec65c98Schristos.Ar expr2
173fec65c98Schristosevaluate to true (logical
174fec65c98Schristos.Sq or ) .
175fec65c98Schristos.It Ar term
176fec65c98SchristosTrue if
177fec65c98Schristos.Ar term
178fec65c98Schristosis satisfied.
179fec65c98SchristosThis has syntax
180fec65c98Schristos.Sm off
181fec65c98Schristos.Oo
182fec65c98Schristos.Op Ar key Op , Ar key ...
1839ff1f2acSchristos.Pq Cm = | \(ti
184fec65c98Schristos.Oc
185fec65c98Schristos.Ar val ,
186fec65c98Schristos.Sm on
187fec65c98Schristoswhere
188fec65c98Schristos.Ar key
189cf816816Sjoergis an
190cf816816Sjoerg.Xr mdoc 7
191cf816816Sjoergmacro to query and
192fec65c98Schristos.Ar val
193cf816816Sjoergis its value.
194cf816816SjoergSee
195cf816816Sjoerg.Sx Macro Keys
196cf816816Sjoergfor a list of available keys.
197cf816816SjoergOperator
198fec65c98Schristos.Cm =
199fec65c98Schristosevaluates a substring, while
2009ff1f2acSchristos.Cm \(ti
201*544c191cSchristosevaluates a case-sensitive extended regular expression.
202fec65c98Schristos.It Fl i Ar term
203fec65c98SchristosIf
204fec65c98Schristos.Ar term
205fec65c98Schristosis a regular expression, it
206fec65c98Schristosis evaluated case-insensitively.
207fec65c98SchristosHas no effect on substring terms.
208fec65c98Schristos.El
209cf816816Sjoerg.Pp
210*544c191cSchristosResults are sorted first according to the section number in ascending
211*544c191cSchristosnumerical order, then by the page name in ascending
212c9bcef03Schristos.Xr ascii 7
213c9bcef03Schristosalphabetical order, case-insensitive.
214c9bcef03Schristos.Pp
215c9bcef03SchristosEach output line is formatted as
216fec65c98Schristos.Pp
217fec65c98Schristos.D1 name[, name...](sec) \- description
218fec65c98Schristos.Pp
219fec65c98SchristosWhere
220fec65c98Schristos.Dq name
221fec65c98Schristosis the manual's name,
222fec65c98Schristos.Dq sec
223cf816816Sjoergis the manual section, and
224fec65c98Schristos.Dq description
225c5f73b34Sjoergis the manual's short description.
226c5f73b34SjoergIf an architecture is specified for the manual, it is displayed as
227fec65c98Schristos.Pp
228fec65c98Schristos.D1 name(sec/arch) \- description
229fec65c98Schristos.Pp
230fec65c98SchristosResulting manuals may be accessed as
231fec65c98Schristos.Pp
232fec65c98Schristos.Dl $ man \-s sec name
233fec65c98Schristos.Pp
234fec65c98SchristosIf an architecture is specified in the output, use
235fec65c98Schristos.Pp
236fec65c98Schristos.Dl $ man \-s sec \-S arch name
237cf816816Sjoerg.Ss Macro Keys
238fec65c98SchristosQueries evaluate over a subset of
239cf816816Sjoerg.Xr mdoc 7
240cf816816Sjoergmacros indexed by
241fec65c98Schristos.Xr makewhatis 8 .
242cf816816SjoergIn addition to the macro keys listed below, the special key
243cf816816Sjoerg.Cm any
244cf816816Sjoergmay be used to match any available macro key.
245cf816816Sjoerg.Pp
246cf816816SjoergNames and description:
247cf816816Sjoerg.Bl -column "xLix" description -offset indent -compact
248cf816816Sjoerg.It Li \&Nm Ta manual name
249cf816816Sjoerg.It Li \&Nd Ta one-line manual description
250fec65c98Schristos.It Li arch Ta machine architecture (case-insensitive)
251fec65c98Schristos.It Li sec  Ta manual section number
252cf816816Sjoerg.El
253cf816816Sjoerg.Pp
254cf816816SjoergSections and cross references:
255cf816816Sjoerg.Bl -column "xLix" description -offset indent -compact
256cf816816Sjoerg.It Li \&Sh Ta section header (excluding standard sections)
257cf816816Sjoerg.It Li \&Ss Ta subsection header
258cf816816Sjoerg.It Li \&Xr Ta cross reference to another manual page
259cf816816Sjoerg.It Li \&Rs Ta bibliographic reference
260cf816816Sjoerg.El
261cf816816Sjoerg.Pp
262cf816816SjoergSemantic markup for command line utilities:
263cf816816Sjoerg.Bl -column "xLix" description -offset indent -compact
264cf816816Sjoerg.It Li \&Fl Ta command line options (flags)
265cf816816Sjoerg.It Li \&Cm Ta command modifier
266cf816816Sjoerg.It Li \&Ar Ta command argument
267cf816816Sjoerg.It Li \&Ic Ta internal or interactive command
268cf816816Sjoerg.It Li \&Ev Ta environmental variable
269cf816816Sjoerg.It Li \&Pa Ta file system path
270cf816816Sjoerg.El
271cf816816Sjoerg.Pp
272cf816816SjoergSemantic markup for function libraries:
273cf816816Sjoerg.Bl -column "xLix" description -offset indent -compact
274cf816816Sjoerg.It Li \&Lb Ta function library name
275cf816816Sjoerg.It Li \&In Ta include file
276cf816816Sjoerg.It Li \&Ft Ta function return type
277cf816816Sjoerg.It Li \&Fn Ta function name
278cf816816Sjoerg.It Li \&Fa Ta function argument type and name
279cf816816Sjoerg.It Li \&Vt Ta variable type
280cf816816Sjoerg.It Li \&Va Ta variable name
281cf816816Sjoerg.It Li \&Dv Ta defined variable or preprocessor constant
282cf816816Sjoerg.It Li \&Er Ta error constant
283cf816816Sjoerg.It Li \&Ev Ta environmental variable
284cf816816Sjoerg.El
285cf816816Sjoerg.Pp
286cf816816SjoergVarious semantic markup:
287cf816816Sjoerg.Bl -column "xLix" description -offset indent -compact
288cf816816Sjoerg.It Li \&An Ta author name
289cf816816Sjoerg.It Li \&Lk Ta hyperlink
290cf816816Sjoerg.It Li \&Mt Ta Do mailto Dc hyperlink
291cf816816Sjoerg.It Li \&Cd Ta kernel configuration declaration
292cf816816Sjoerg.It Li \&Ms Ta mathematical symbol
293cf816816Sjoerg.It Li \&Tn Ta tradename
294cf816816Sjoerg.El
295cf816816Sjoerg.Pp
296cf816816SjoergPhysical markup:
297cf816816Sjoerg.Bl -column "xLix" description -offset indent -compact
298cf816816Sjoerg.It Li \&Em Ta italic font or underline
299cf816816Sjoerg.It Li \&Sy Ta boldface font
300cf816816Sjoerg.It Li \&Li Ta typewriter font
301cf816816Sjoerg.El
302cf816816Sjoerg.Pp
303cf816816SjoergText production:
304cf816816Sjoerg.Bl -column "xLix" description -offset indent -compact
305cf816816Sjoerg.It Li \&St Ta reference to a standards document
306cf816816Sjoerg.It Li \&At Ta At No version reference
307cf816816Sjoerg.It Li \&Bx Ta Bx No version reference
308cf816816Sjoerg.It Li \&Bsx Ta Bsx No version reference
309cf816816Sjoerg.It Li \&Nx Ta Nx No version reference
310cf816816Sjoerg.It Li \&Fx Ta Fx No version reference
311cf816816Sjoerg.It Li \&Ox Ta Ox No version reference
312cf816816Sjoerg.It Li \&Dx Ta Dx No version reference
313cf816816Sjoerg.El
314c9bcef03Schristos.Pp
315c9bcef03SchristosIn general, macro keys are supposed to yield complete results without
316c9bcef03Schristosexpecting the user to consider actual macro usage.
317c9bcef03SchristosFor example, results include:
318c9bcef03Schristos.Pp
319c9bcef03Schristos.Bl -tag -width 3n -offset 3n -compact
320c9bcef03Schristos.It Li \&Fa
321c9bcef03Schristosfunction arguments appearing on
322c9bcef03Schristos.Ic \&Fn
323c9bcef03Schristoslines
324c9bcef03Schristos.It Li \&Fn
325*544c191cSchristosfunction names marked up with
326c9bcef03Schristos.Ic \&Fo
327c9bcef03Schristosmacros
328c9bcef03Schristos.It Li \&In
329c9bcef03Schristosinclude file names marked up with
330c9bcef03Schristos.Ic \&Fd
331c9bcef03Schristosmacros
332c9bcef03Schristos.It Li \&Vt
333c9bcef03Schristostypes appearing as function return types and
334c9bcef03Schristos.It \&
335c9bcef03Schristostypes appearing in function arguments in the SYNOPSIS
336c9bcef03Schristos.El
337cf816816Sjoerg.Sh ENVIRONMENT
338fec65c98Schristos.Bl -tag -width MANPAGER
339fec65c98Schristos.It Ev MANPAGER
340fec65c98SchristosAny non-empty value of the environment variable
341fec65c98Schristos.Ev MANPAGER
342c9bcef03Schristosis used instead of the standard pagination program,
343c9bcef03Schristos.Xr more 1 ;
344c9bcef03Schristossee
345fec65c98Schristos.Xr man 1
346c9bcef03Schristosfor details.
347c9bcef03SchristosOnly used if
348c9bcef03Schristos.Fl a
349c9bcef03Schristosor
350c9bcef03Schristos.Fl l
351c9bcef03Schristosis specified.
352c9bcef03Schristos.It Ev MANPATH
353c9bcef03SchristosA colon-separated list of directories to search for manual pages; see
354c9bcef03Schristos.Xr man 1
355c9bcef03Schristosfor details.
356cf816816SjoergOverridden by
357c9bcef03Schristos.Fl M ,
358c9bcef03Schristosignored if
359c9bcef03Schristos.Fl l
360c9bcef03Schristosis specified.
361fec65c98Schristos.It Ev PAGER
362fec65c98SchristosSpecifies the pagination program to use when
363fec65c98Schristos.Ev MANPAGER
364fec65c98Schristosis not defined.
365fec65c98SchristosIf neither PAGER nor MANPAGER is defined,
3669ff1f2acSchristos.Xr more 1
3679ff1f2acSchristos.Fl s
368c9bcef03Schristosis used.
369c9bcef03SchristosOnly used if
370c9bcef03Schristos.Fl a
371c9bcef03Schristosor
372c9bcef03Schristos.Fl l
373c9bcef03Schristosis specified.
374cf816816Sjoerg.El
375cf816816Sjoerg.Sh FILES
376cf816816Sjoerg.Bl -tag -width "/etc/man.conf" -compact
37770f041f9Sjoerg.It Pa mandoc.db
378cf816816Sjoergname of the
379fec65c98Schristos.Xr makewhatis 8
380cf816816Sjoergkeyword database
381cf816816Sjoerg.It Pa /etc/man.conf
382cf816816Sjoergdefault
383cf816816Sjoerg.Xr man 1
384cf816816Sjoergconfiguration file
385cf816816Sjoerg.El
386c5f73b34Sjoerg.Sh EXIT STATUS
387c5f73b34Sjoerg.Ex -std
388c5f73b34Sjoerg.Sh EXAMPLES
389c5f73b34SjoergSearch for
390fec65c98Schristos.Qq .cf
391fec65c98Schristosas a substring of manual names and descriptions:
392cf816816Sjoerg.Pp
393*544c191cSchristos.Dl $ apropos =.cf
394cf816816Sjoerg.Pp
395cf816816SjoergInclude matches for
396fec65c98Schristos.Qq .cnf
397cf816816Sjoergand
398fec65c98Schristos.Qq .conf
399fec65c98Schristosas well:
400cf816816Sjoerg.Pp
401*544c191cSchristos.Dl $ apropos =.cf =.cnf =.conf
402cf816816Sjoerg.Pp
403*544c191cSchristosSearch in names and descriptions using a case-sensitive regular expression:
404fec65c98Schristos.Pp
4059ff1f2acSchristos.Dl $ apropos \(aq\(tiset.?[ug]id\(aq
406fec65c98Schristos.Pp
407fec65c98SchristosSearch for manuals in the library section mentioning both the
408fec65c98Schristos.Qq optind
409fec65c98Schristosand the
410cf816816Sjoerg.Qq optarg
411fec65c98Schristosvariables:
412c5f73b34Sjoerg.Pp
413fec65c98Schristos.Dl $ apropos \-s 3 Va=optind \-a Va=optarg
414fec65c98Schristos.Pp
415fec65c98SchristosDo exactly the same as calling
416c9bcef03Schristos.Nm whatis
417fec65c98Schristoswith the argument
418fec65c98Schristos.Qq ssh :
419fec65c98Schristos.Pp
4209ff1f2acSchristos.Dl $ apropos \-\- \-i \(aqNm\(ti[[:<:]]ssh[[:>:]]\(aq
421fec65c98Schristos.Pp
422fec65c98SchristosThe following two invocations are equivalent:
423fec65c98Schristos.Pp
424fec65c98Schristos.D1 Li $ apropos -S Ar arch Li -s Ar section expression
425fec65c98Schristos.Bd -ragged -offset indent
426fec65c98Schristos.Li $ apropos \e( Ar expression Li \e)
4279ff1f2acSchristos.Li -a arch\(ti^( Ns Ar arch Ns Li |any)$
4289ff1f2acSchristos.Li -a sec\(ti^ Ns Ar section Ns Li $
429fec65c98Schristos.Ed
430c5f73b34Sjoerg.Sh SEE ALSO
431fec65c98Schristos.Xr man 1 ,
432fec65c98Schristos.Xr re_format 7 ,
433fec65c98Schristos.Xr makewhatis 8
434*544c191cSchristos.Sh STANDARDS
435*544c191cSchristosThe
436*544c191cSchristos.Nm
437*544c191cSchristosutility is compliant with the
438*544c191cSchristos.St -p1003.1-2008
439*544c191cSchristosspecification of
440*544c191cSchristos.Xr man 1
441*544c191cSchristos.Fl k .
442*544c191cSchristos.Pp
443*544c191cSchristosAll options, the
444*544c191cSchristos.Nm whatis
445*544c191cSchristoscommand, support for logical operators, macro keys,
446*544c191cSchristossubstring matching, sorting of results, the environment variables
447*544c191cSchristos.Ev MANPAGER
448*544c191cSchristosand
449*544c191cSchristos.Ev MANPATH ,
450*544c191cSchristosthe database format, and the configuration file
451*544c191cSchristosare extensions to that specification.
452fec65c98Schristos.Sh HISTORY
453fec65c98SchristosPart of the functionality of
454fec65c98Schristos.Nm whatis
455fec65c98Schristoswas already provided by the former
456fec65c98Schristos.Nm manwhere
457fec65c98Schristosutility in
458fec65c98Schristos.Bx 1 .
459c5f73b34SjoergThe
460c5f73b34Sjoerg.Nm
461fec65c98Schristosand
462fec65c98Schristos.Nm whatis
463fec65c98Schristosutilities first appeared in
464fec65c98Schristos.Bx 2 .
465fec65c98SchristosThey were rewritten from scratch for
466fec65c98Schristos.Ox 5.6 .
467fec65c98Schristos.Pp
468fec65c98SchristosThe
469fec65c98Schristos.Fl M
470fec65c98Schristosoption and the
471fec65c98Schristos.Ev MANPATH
472fec65c98Schristosvariable first appeared in
473fec65c98Schristos.Bx 4.3 ;
474fec65c98Schristos.Fl m
475fec65c98Schristosin
476fec65c98Schristos.Bx 4.3 Reno ;
477fec65c98Schristos.Fl C
478fec65c98Schristosin
479fec65c98Schristos.Bx 4.4 Lite1 ;
480fec65c98Schristosand
481fec65c98Schristos.Fl S
482fec65c98Schristosand
483fec65c98Schristos.Fl s
484fec65c98Schristosin
485fec65c98Schristos.Ox 4.5
486fec65c98Schristosfor
487fec65c98Schristos.Nm
488fec65c98Schristosand in
489fec65c98Schristos.Ox 5.6
490fec65c98Schristosfor
491fec65c98Schristos.Nm whatis .
4929508192eSchristosThe options
4939508192eSchristos.Fl acfhIKklOTWw
4949508192eSchristosappeared in
4959508192eSchristos.Ox 5.7 .
496fec65c98Schristos.Sh AUTHORS
497fec65c98Schristos.An -nosplit
498fec65c98Schristos.An Bill Joy
499fec65c98Schristoswrote
500fec65c98Schristos.Nm manwhere
501fec65c98Schristosin 1977 and the original
502fec65c98Schristos.Bx
503fec65c98Schristos.Nm
504fec65c98Schristosand
505fec65c98Schristos.Nm whatis
506fec65c98Schristosin February 1979.
507fec65c98SchristosThe current version was written by
508fec65c98Schristos.An Kristaps Dzonsons Aq Mt kristaps@bsd.lv
509fec65c98Schristosand
510fec65c98Schristos.An Ingo Schwarze Aq Mt schwarze@openbsd.org .
511