util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] docs: spelling, wording, and grammar fixes in the man page of whereis
@ 2014-10-27 21:18 Benno Schulenberg
  2014-10-27 21:18 ` [PATCH 2/4] docs: fix some wording and formatting in man page of swapon Benno Schulenberg
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Benno Schulenberg @ 2014-10-27 21:18 UTC (permalink / raw)
  To: util-linux

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
 misc-utils/whereis.1 |   37 +++++++++++++++++++------------------
 1 files changed, 19 insertions(+), 18 deletions(-)

diff --git a/misc-utils/whereis.1 b/misc-utils/whereis.1
index e8e4327..243fc14 100644
--- a/misc-utils/whereis.1
+++ b/misc-utils/whereis.1
@@ -30,7 +30,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\" @(#)whereis.1 from UCB 4.2
-.TH WHEREIS 1 "March 2013" "util-linux" "User Commands"
+.TH WHEREIS 1 "October 2014" "util-linux" "User Commands"
 .SH NAME
 whereis \- locate the binary, source, and manual page files for a command
 .SH SYNOPSIS
@@ -56,26 +56,27 @@ in the places specified by
 .B $PATH
 and
 .BR $MANPATH .
-
-The search restrinctions (options \fB\-b\fP, \fB\-m\fP and \fB\-s\fP) are
-cumulative and always applied for the next \fIname\fP patterns specified on
-command line. The first search restrinction resets the search mask. For example
+.sp
+The search restrictions (options \fB\-b\fP, \fB\-m\fP and \fB\-s\fP)
+are cumulative and apply to the subsequent \fIname\fP patterns on
+the command line.  Any new search restriction resets the search mask.
+For example,
 .RS
 .sp
 .B "whereis -bm ls tr -m gcc"
 .sp
 .RE
-searchs for "ls" and "tr" binaries and man pages, and "gcc" man pages only.
-
-The options \fB\-B\fP, \fB\-M\fP and \fB\-S\fP resets search paths for the next
-\fIname\fP patterns. For example
+searches for "ls" and "tr" binaries and man pages, and for "gcc" man pages only.
+.sp
+The options \fB\-B\fP, \fB\-M\fP and \fB\-S\fP reset search paths for the
+subsequent \fIname\fP patterns.  For example,
 .RS
 .sp
 .B "whereis -m ls -M /usr/share/man/man1 -f cal"
 .sp
 .RE
-searchs for "ls" man pages in all default paths, but for "cal" in
-/usr/share/man/man1 directory only.
+searches for "ls" man pages in all default paths, but for "cal" in
+the /usr/share/man/man1 directory only.
 
 .SH OPTIONS
 .TP
@@ -114,15 +115,15 @@ or
 .BR \-S
 options is used.
 .IP "\fB\-l"
-Output list of effective lookup paths the
+Output the list of effective lookup paths that
 .B whereis
-is using.  When non of
+is using.  When none of
 .BR \-B ,
 .BR \-M ,
 or
 .BR \-S
-is specified the option will out hard coded paths that the command was able to
-find on system.
+is specified, the option will output the hard-coded paths
+that the command was able to find on the system.
 .SH EXAMPLE
 To find all files in
 .B /usr/\:bin
@@ -132,14 +133,14 @@ in
 or have no source in
 .BR /usr/\:src :
 .IP
-.B $ cd /usr/bin
+.B cd /usr/bin
 .br
-.B $ whereis \-u \-ms \-M /usr/man/man1 \-S /usr/src \-f *
+.B whereis \-u \-ms \-M /usr/man/man1 \-S /usr/src \-f *
 .SH "FILE SEARCH PATHS"
 By default
 .B whereis
 tries to find files from hard-coded paths, which are defined with glob
-patterns. The command attempst to use contents of
+patterns.  The command attempst to use contents of
 .B $PATH
 and
 .B $MANPATH
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-11-19  7:27 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-27 21:18 [PATCH 1/4] docs: spelling, wording, and grammar fixes in the man page of whereis Benno Schulenberg
2014-10-27 21:18 ` [PATCH 2/4] docs: fix some wording and formatting in man page of swapon Benno Schulenberg
2014-10-31  9:48   ` Karel Zak
2014-10-27 21:18 ` [PATCH 3/4] textual: slice up the usage text of swapon for ease of translation Benno Schulenberg
2014-10-27 21:24   ` Benno Schulenberg
2014-10-31  9:32     ` Karel Zak
2014-10-31  9:48   ` Karel Zak
2014-10-27 21:18 ` [PATCH 4/4] docs: improve wording and formattin of man page of hwclock Benno Schulenberg
2014-10-28  1:09   ` JWP
2014-10-28 20:02     ` Benno Schulenberg
2014-10-31  9:51       ` Karel Zak
2014-11-02 17:53         ` JWP
2014-11-03 21:15           ` Benno Schulenberg
2014-11-04 13:16             ` JWP
2014-11-18 13:05               ` Karel Zak
2014-11-18 19:48                 ` Benno Schulenberg
2014-11-19  7:26                   ` Karel Zak
2014-10-31  9:47 ` [PATCH 1/4] docs: spelling, wording, and grammar fixes in the man page of whereis Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).