bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documentation tweak


From: Jim Meyering
Subject: Re: Documentation tweak
Date: Mon, 02 May 2011 21:19:11 +0200

Reuben Thomas wrote:
> I attach a patch to make sense of the comment about mmap under --mmap.
> (Clearly --mmap would never improve performance since it is now
> ignored!).

Thanks.  I pushed this, with tweaked log.
(prepended "doc: " to title, removed period, added ChangeLog-style entry)

>From 5329e00c99c33406cd671ebac1d3a6e688ef05ab Mon Sep 17 00:00:00 2001
From: Reuben Thomas <address@hidden>
Date: Mon, 2 May 2011 12:41:15 +0100
Subject: [PATCH] doc: correct comment about mmap

* doc/grep.texi (Other Options) [--mmap]: This option is now
ignored, so using it can have no effect on performance.
---
 doc/grep.texi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/doc/grep.texi b/doc/grep.texi
index da27aa1..7c80f8c 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -668,7 +668,7 @@ This can cause a performance penalty.
 @cindex memory mapped input
 This option is ignored for backwards compatibility.  It used to read
 input with the @code{mmap} system call, instead of the default @code{read}
-system call.  On modern systems, @samp{--mmap} rarely if ever yields
+system call.  On modern systems, @code{mmap} would rarely if ever yield
 better performance.

 @item -U
--
1.7.5.141.g791a



reply via email to

[Prev in Thread] Current Thread [Next in Thread]