开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜