summaryrefslogtreecommitdiff
path: root/misc-utils/whereis.1
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-07-22 11:29:04 +0200
committerKarel Zak <kzak@redhat.com>2009-08-17 12:11:08 +0200
commitfd5ccc69697e207d43ad3bcb6a075b812a1e97a8 (patch)
tree3663cb30d1e532b77ad3cd1cecbee9b4ea4786ac /misc-utils/whereis.1
parente173df711386721c9f74d2e2915361250eec8168 (diff)
downloadutil-linux-old-fd5ccc69697e207d43ad3bcb6a075b812a1e97a8.tar.gz
whereis.1: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
Diffstat (limited to 'misc-utils/whereis.1')
-rw-r--r--misc-utils/whereis.118
1 files changed, 7 insertions, 11 deletions
diff --git a/misc-utils/whereis.1 b/misc-utils/whereis.1
index 0fa50313..b13491b6 100644
--- a/misc-utils/whereis.1
+++ b/misc-utils/whereis.1
@@ -35,15 +35,11 @@
whereis \- locate the binary, source, and manual page files for a command
.SH SYNOPSIS
.B whereis
-[
-.B \-bmsu
-] [
-.B \-BMS
-.IR directory .\|.\|.
-.B \-f
-]
-\fIfilename\fP\|
-\&.\|.\|.
+.RB [ \-bmsu ]
+.RB [ \-BMS
+.IR directory ...
+.BR \-f ]
+.IR filename ...
.IX "whereis command" "" "\fLwhereis\fP \(em find program"
.IX find "program \(em \fLwhereis\fP"
.IX "locate program" "" "locate program \(em \fLwhereis\fP"
@@ -54,7 +50,7 @@ locates source/binary and manuals sections for specified
files.
The supplied names are first stripped of leading pathname components
and any (single) trailing extension of the form
-.BI . ext,
+.BI . ext\fR,\fP
for example,
.BR .c .
Prefixes of
@@ -65,7 +61,7 @@ then attempts to locate the desired program in
a list of standard Linux places.
.SH OPTIONS
.TP
-\fB\-b
+.B \-b
Search only for binaries.
.TP
.B \-m