Typically, at the beginning of a coding/maintenance task, I usually start with a carefully worded grep, such as
M-x grep git --no-pager grep -n -e 'collect' -- ':!*spec*' ':!*.yml'<enter>
and suppose I got 200 grep results. Usually a task requires changing only 1 or 2 files, but figuring out which files that needs the edit is the hard part in the beginning. so I would essentially "eliminate suspects" from the grep results, until I come up with a "manageable" list of files I can focus on/dig in to.
How can I effectively work with the grep results in emacs, do we have the ability to "eliminate" lines interactively ?