summaryrefslogtreecommitdiffstats
path: root/misc-utils/whereis.1
diff options
context:
space:
mode:
authorPeter Breitenlohner2009-07-22 11:29:04 +0200
committerKarel Zak2009-08-17 12:11:08 +0200
commitfd5ccc69697e207d43ad3bcb6a075b812a1e97a8 (patch)
tree3663cb30d1e532b77ad3cd1cecbee9b4ea4786ac /misc-utils/whereis.1
parentuuidgen.1: formatting (diff)
downloadkernel-qcow2-util-linux-fd5ccc69697e207d43ad3bcb6a075b812a1e97a8.tar.gz
kernel-qcow2-util-linux-fd5ccc69697e207d43ad3bcb6a075b812a1e97a8.tar.xz
kernel-qcow2-util-linux-fd5ccc69697e207d43ad3bcb6a075b812a1e97a8.zip
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 0fa503137..b13491b69 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