Skip to content

Commit b58ecaf

Browse files
committed
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 范凯 <[email protected]>
1 parent 48422af commit b58ecaf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/misc/efaq-w32.texi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,7 +1820,8 @@ If you want a quick solution without installing extra tools, a poor
18201820
substitute that works for simple text searches is to specify the built
18211821
in Windows command @command{findstr} as the command to run at the
18221822
@kbd{M-x grep} prompt. Normally you will want to use the @option{/n}
1823-
argument to @command{findstr}.
1823+
argument to @command{findstr}, to have it print the line numbers for
1824+
each hit.
18241825

18251826
@menu
18261827
* Recursive grep::
@@ -1860,7 +1861,8 @@ path to the findutils @command{find} command.
18601861
An alternative if you have a recent version of grep is to customize
18611862
@code{grep-find-command} to use @samp{grep -r} instead of both find
18621863
and grep. Another alternative if you don't need the full capabilities
1863-
of grep is to use @samp{findstr /n /r}.
1864+
of grep is to use @samp{findstr /n /r}; add the @samp{/s} option if
1865+
you want a recursive search.
18641866

18651867
@c ------------------------------------------------------------
18661868
@node Developing with Emacs

0 commit comments

Comments
 (0)