summaryrefslogtreecommitdiffstats
path: root/misc-utils/whereis.1
Commit message (Collapse)AuthorAgeFilesLines
* man: Use the correct macro for a font change of one argumentBjarni Ingi Gislason2018-05-231-3/+3
| | | | | | | | Use the correct macro (I, B) for the font change of one argument, not those that are used for alternating two fonts, like "BR", "IR", "RB", or "RI". Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
* whereis: add --help and --versionRuediger Meier2017-06-221-0/+6
| | | | | | | We can use errtryhelp() now and never print usage to stderr. One may improve all these "bad usage" messages. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* docs: replace FTP by HTTPS in kernel.org URLsSébastien Helleu2016-12-191-1/+1
| | | | | | | The links to ftp://ftp.kernel.org/ are replaced by https://www.kernel.org/. Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: various pages: Format pathnames as italic (.I)Michael Kerrisk2016-12-091-3/+3
| | | | | | | | | In the majority of pages, pathnames are formatted as Italic, which is the norm. However, there are several cases where they are formatted as bold. This patch fixes a number of those exceptions. Signed-off-by: Michael Kerrisk <mtk.man-pages@gmail.com>
* whereis: trivial spelling and grammar fixMike Place2015-04-071-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: add info about *_DEBUG= to man pagesKarel Zak2015-02-031-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* whereis: lookup also info docsKarel Zak2015-02-021-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: don't use bold or italics for "[option]" in synopsis of man pagesBenno Schulenberg2014-12-191-1/+1
| | | | | | | As per the convention shown in Documentation/howto-man-page.txt. Also make a few other tiny adjustments along the way. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: spelling, wording, and grammar fixes in the man page of whereisBenno Schulenberg2014-10-311-18/+19
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* whereis: reset search mask more carefullyKarel Zak2014-10-231-3/+24
| | | | | | | | | | | | | | | | | | # whereis -m cal -M /usr/share/man/man1/ -f ls cal: /usr/share/man/man1/cal.1.gz /usr/share/man/man1p/cal.1p.gz ls: /usr/bin/ls /usr/share/man/man1/ls.1.gz the -M also resets the search mask, so for 'ls' it returns also binaries. That's bug. Expected result is: # ./whereis -m cal -M /usr/share/man/man1/ -f ls cal: /usr/share/man/man1/cal.1.gz /usr/share/man/man1p/cal.1p.gz ls: /usr/share/man/man1/ls.1.gz the search mask has to be sensitive only to -b -m -s options, otherwise the semantic is pretty messy. Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: generic whereis.1 clean upSami Kerola2013-03-191-36/+25Star
| | | | | | | Align with howto-man-page.txt, and more importantly remove out dated 'SEE ALSO' and 'BUGS' sections. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* whereis: support MANPATH environment variableSami Kerola2013-03-191-14/+17
| | | | | | | | | | The MANPATH has been around long enough that it can be added to whereis default search path. Reference: manpath(1) Addresses: http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* whereis: add search scope listing optionSami Kerola2013-03-191-1/+10
| | | | | | | Mostly useful when debugging why the command does, or does not, work. Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* textual: fix the example in whereis man page, plus further improvementsBenno Schulenberg2013-01-301-42/+41Star
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: add line breaks to whereis.1Sami Kerola2012-10-191-2/+2
| | | | | | | | | Fix to tools script checkmans.sh warning. testing: /home/src/util-linux/misc-utils/whereis.1 :120: warning [p 1, 10.8i, div `an-div', 0.0i]: can't break line Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* docs: man page syntax fixesVille Skyttä2012-07-161-1/+1
| | | | Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* whereis: cleanup man page, add note about $PATHKarel Zak2012-06-261-38/+28Star
| | | | | Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=835211 Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: uniformize the header and footer lines in man pagesBenno Schulenberg2011-08-221-1/+1
| | | | | | | | | | Use dates without the day, use the full month name, put "util-linux" in the lower left corner, and "User Commands" or "System Administration" at the top center. Also improve here and there the one-line program description. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-301-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* whereis.1: formattingPeter Breitenlohner2009-08-171-11/+7Star
| | | | Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
* man pages: add "AVAILABILITY" sectionKarel Zak2007-07-031-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.8 tarball.Karel Zak2006-12-071-54/+7Star
|
* Imported from util-linux-2.2 tarball.Karel Zak2006-12-071-0/+198