.\" Man page for whatis .\" .\" Copyright (C), 1994, 1995, Graeme W. Wilford. (Wilf.) .\" .\" You may distribute under the terms of the GNU General Public .\" License as specified in the file COPYING that comes with the .\" man-db distribution. .\" .\" Sat Oct 29 13:09:31 GMT 1994 Wilf. (G.Wilford@ee.surrey.ac.uk) .pc "" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH WHATIS 1 2014-09-28 2.7.0.2 "Værktøjer til manualsider" .SH NAVN whatis \- vis beskrivelser på en linje for manualsider .SH SYNOPSIS \fBwhatis\fP [\|\fB\-dlv?V\fP\|] [\|\fB\-r\fP\||\|\fB\-w\fP\|] [\|\fB\-s\fP \fIliste\fP\|] [\|\fB\-m\fP \fIsystem\fP\|[\|,.\|.\|.\|]\|] [\|\fB\-M\fP \fIsti\fP\|] [\|\fB\-L\fP \fIsted\fP\|] [\|\fB\-C\fP \fIfil\fP\|] \fInavn\fP \&.\|.\|. .SH BESKRIVELSE Each manual page has a short description available within it. \fBwhatis\fP searches the manual page names and displays the manual page descriptions of any \fIname\fP matched. \fIname\fP may contain wildcards (\fB\-w\fP) or be a regular expression (\fB\-r\fP). Using these options, it may be necessary to quote the \fIname\fP or escape (\e) the special characters to stop the shell from interpreting them. \fBindex\fP databases are used during the search, and are updated by the \fBmandb\fP program. Depending on your installation, this may be run by a periodic cron job, or may need to be run manually after new manual pages have been installed. To produce an old style text \fBwhatis\fP database from the relative \fBindex\fP database, issue the command: \fBwhatis \-M\fP \fImanpath\fP \fB\-w '*' | sort >\fP \fImanpath/whatis\fP where \fImanpath\fP is a manual page hierarchy such as \fI/usr/man\fP. .SH TILVALG .TP .if !'po4a'hide' .BR \-d ", " \-\-debug Vis fejlsøgningsinformation. .TP .if !'po4a'hide' .BR \-v ", " \-\-verbose Vis uddybende advarsler. .TP .if !'po4a'hide' .BR \-r ", " \-\-regex Interpret each \fIname\fP as a regular expression. If a \fIname\fP matches any part of a page name, a match will be made. This option causes \fBwhatis\fP to be somewhat slower due to the nature of database searches. .TP .if !'po4a'hide' .BR \-w ", " \-\-wildcard Interpret each \fIname\fP as a pattern containing shell style wildcards. For a match to be made, an expanded \fIname\fP must match the entire page name. This option causes \fBwhatis\fP to be somewhat slower due to the nature of database searches. .TP .if !'po4a'hide' .BR \-l ", " \-\-long Tilpas ikke resultatet til terminalbredden. Normalt vil resultatet blive forkortet til terminalbredden for at undgå grimme resultater fra dårligt skrevet \fBNAVN\fP\-afsnit. .TP \fB\-s\fP \fIliste\fP, \fB\-\-sections\fP \fIliste\fP, \fB\-\-section\fP \fIliste\fP .\" .\" Due to the rather silly limit of 6 args per request in some `native' .\" *roff compilers, we have do the following to get the two-line .\" hanging tag on one line. .PP to begin a new paragraph, then the .\" tag, then .RS (start relative indent), the text, finally .RE .\" (end relative indent). .\" Søg kun i de angivne manualafsnit. \fIliste\fP er en kolon\- eller kommaadskilt liste af afsnit. Hvis et punkt i \fIliste\fP er et simpelt afsnit, for eksempel »3«, så vil den viste beskrivelsesliste inkludere sider i afsnit »3«, »3perl«, »3x« og så videre; mens at hvis et punkt i \fIliste\fP har en udvidelse, for eksempel »3perl«, så vil listen kun inkludere sider i den præcise del af manualafsnittet. .PP \fB\-m\fP \fIsystem\fP\|[\|,.\|.\|.\|]\|, \fB\-\-systems=\fP\fIsystem\fP\|[\|,.\|.\|.\|] .RS If this system has access to other operating system's manual page names, they can be accessed using this option. To search NewOS's manual page names, use the option \fB\-m\fP \fBNewOS\fP. The \fIsystem\fP specified can be a combination of comma delimited operating system names. To include a search of the native operating system's manual page names, include the system name \fBman\fP in the argument string. This option will override the $\fBSYSTEM\fP environment variable. .RE .TP \fB\-M\ \fP\fIsti\fP,\ \fB\-\-manpath=\fP\fIsti\fP Specify an alternate set of colon\-delimited manual page hierarchies to search. By default, \fBwhatis\fP uses the $\fBMANPATH\fP environment variable, unless it is empty or unset, in which case it will determine an appropriate manpath based on your $\fBPATH\fP environment variable. This option overrides the contents of $\fBMANPATH\fP. .TP \fB\-L\ \fP\fIsprog\fP,\ \fB\-\-locale=\fP\fIsprog\fP \fBwhatis\fP vil normalt bestemme dit lokale sprog med et kald til C\-funktionen \fBsetlocale\fP(3), som undersøger diverse miljøvariabler, muligvis inklusive $\fBLC_MESSAGES\fP og $\fBLANG\fP. For midlertidigt at overskrive den afslørede værdi bruges dette tilvalg til at supplere en \fIsprog\fP\-streng direkte til \fBwhatis\fP. Bemærk at det ikke vil træde i kraft før søgningen efter sider rent faktisk begynder. Resultatet såsom hjælpebeskeden vil altid blive vist i det oprindeligt bestemte sprog. .TP \fB\-C\ \fP\fIfil\fP,\ \fB\-\-config\-file=\fP\fIfil\fP Brug denne brugerkonfigurationsfil frem for standarden \fI~/.manpath\fP. .TP .if !'po4a'hide' .BR \-? ", " \-\-help Vis en hjælpebesked og afslut. .TP .if !'po4a'hide' .BR \-\-usage Vis en kort hjælpebesked og afslut. .TP .if !'po4a'hide' .BR \-V ", " \-\-version Vis versionsinformation. .SH AFSLUT\-STATUS .TP .if !'po4a'hide' .B 0 Programkørsel endt uden fejl. .TP .if !'po4a'hide' .B 1 Brugs\-, syntaks\- eller konfigurationsfilfejl. .TP .if !'po4a'hide' .B 2 Operationel fejl. .TP .if !'po4a'hide' .B 16 Intet blev fundet som matchede de angivne kriterier. .SH MILJØ .TP .if !'po4a'hide' .B SYSTEM Hvis $\fBSYSTEM\fP er angivet, vil det have den samme effekt, som hvis den var blevet angivet som argument for tilvalget \fB\-m\fP. .TP .if !'po4a'hide' .B MANPATH If $\fBMANPATH\fP is set, its value is interpreted as the colon\-delimited manual page hierarchy search path to use. .TP .if !'po4a'hide' .B MANWIDTH If $\fBMANWIDTH\fP is set, its value is used as the terminal width (see the \fB\-\-long\fP option). If it is not set, the terminal width will be calculated using the value of $\fBCOLUMNS\fP, an \fBioctl\fP(2) if available, or falling back to 80 characters if all else fails. .SH FILER .TP .if !'po4a'hide' .I /usr/share/man/index.(bt|db|dir|pag) Et traditionelt globalt \fIindex\fP\-databasemellemlager. .TP .if !'po4a'hide' .I /var/cache/man/index.(bt|db|dir|pag) Et FHS\-overholdende globalt \fIindex\fP\-databasemellemlager. .TP .if !'po4a'hide' .I /usr/share/man/\|.\|.\|.\|/whatis En traditionel \fBwhatis\fP\-tekstdatabase. .SH "SE OGSÅ" .if !'po4a'hide' .BR apropos (1), .if !'po4a'hide' .BR man (1), .if !'po4a'hide' .BR mandb (8) .SH FORFATTER .nf .if !'po4a'hide' Wilf. (G.Wilford@ee.surrey.ac.uk). .if !'po4a'hide' Fabrizio Polacco (fpolacco@debian.org). .if !'po4a'hide' Colin Watson (cjwatson@debian.org). .fi