emacs eshell grep on grep output
In eshell, one of the nice things is commands like grep's output will be redirected to Emacs special buffers. However, if I do a grep on previous grep, e.g.:
grep "abc" *.el | grep -v "ghi"
that output only appears in standard output. I'm wondering if there is a way to direct that ou开发者_如何学编程tput to Emacs special buffer as well.
Thanks.
(grep "grep abc *.el | grep -v ghi -")
opens the resulting matches in a new widow, but next-error
does not work with it though.
精彩评论