← Back to team overview

sslug-teknik team mailing list archive

Re: Manual

 

Theis P. Hansen wrote:

> Apropos apropos ;-) Hvordan får man den kommando til at søge på flere ord
> på en gang? Kan det lade sig gøre?
> 

 > apropos  -h
usage: apropos [-d] [-r|-w] [-m systems] [-M manpath] | [-h] | [-V] keyword ...
-d --debug              produce debugging info.
-r --regex              interpret each keyword as a regex.
-w --wildcard           the keyword(s) contain wildcards.
-m --systems system     include alternate systems man pages.
-M --manpath path       set search path for manual pages to `path'.
-V --version            show version.
-h --help               show this usage message.

... "regex", se "man regex". , 
simpel eksempel (tilføje selv wildkards mv.) :

>> apropos -r 'xfont|pciq|pcps'
pcps (1)             - (unknown)
pciq (1)             - print files to printer (ciq600|HPCL) - version 2.0
XFontsOfFontSet (3x) - obtain fontset information
XFontSetExtents (3x) - XFontSetExtents structure
XFontStruct (3x)     - load or unload fonts and font metric structures
XFontProp (3x)       - load or unload fonts and font metric structures
xfontsel (1x)        - point and click selection of X11 font names
fdpciq (1)           - print files to printer (ciq600|HPCL) - version 1.3



-- 
mvh Frank Damgaard 
frda@xxxxxxxxxxxxx | frank@xxxxxxxx | frank@xxxxxxx |fido  2:236/15.2


References