[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 b58ecaf: Minor copyedits in efaq-w32
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 b58ecaf: Minor copyedits in efaq-w32 |
Date: |
Sat, 8 Jun 2019 11:49:26 -0400 (EDT) |
branch: emacs-26
commit b58ecafcdc8e13537b21860a222d13c73c851e7c
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Minor copyedits in efaq-w32
* doc/misc/efaq-w32.texi (Grep, Recursive grep): More accurate
description of using 'findstr' as a poor-man's replacement for
'grep'. Reported by 范凯 <address@hidden>
---
doc/misc/efaq-w32.texi | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/doc/misc/efaq-w32.texi b/doc/misc/efaq-w32.texi
index 8e067a7..cdd01e4 100644
--- a/doc/misc/efaq-w32.texi
+++ b/doc/misc/efaq-w32.texi
@@ -1820,7 +1820,8 @@ If you want a quick solution without installing extra
tools, a poor
substitute that works for simple text searches is to specify the built
in Windows command @command{findstr} as the command to run at the
@kbd{M-x grep} prompt. Normally you will want to use the @option{/n}
-argument to @command{findstr}.
+argument to @command{findstr}, to have it print the line numbers for
+each hit.
@menu
* Recursive grep::
@@ -1860,7 +1861,8 @@ path to the findutils @command{find} command.
An alternative if you have a recent version of grep is to customize
@code{grep-find-command} to use @samp{grep -r} instead of both find
and grep. Another alternative if you don't need the full capabilities
-of grep is to use @samp{findstr /n /r}.
+of grep is to use @samp{findstr /n /r}; add the @samp{/s} option if
+you want a recursive search.
@c ------------------------------------------------------------
@node Developing with Emacs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 b58ecaf: Minor copyedits in efaq-w32,
Eli Zaretskii <=