I have a phrase, e.g. This is an example phrase, and a collection of text files (coll.d/a.txt
, coll.d/b.txt
, etc.), and I'm looking for the former in the latter.
The thing is, maybe my pattern is splitted over several lines of text, so plain grep isn't so simple.
I like the way C-s deals with spaces, case, the kill-ring, and so on, and look for such behaviour.
So how can I search many files with it ?
Certainly an answer is burried somewhere in documentation or manuals but rgrep
, find
, replace
, regexp
, and occur
somewhat complicate the search, without even mentionning all things dired
.
* t
takes a while and)M-s a C-s
freezes forever before even asking for a search string. I guess that's asking too much, but I wonder if there's another way (or why it should take so much ressources).