开发者

emacs eshell grep on grep output

开发者 https://www.devze.com 2023-02-27 09:23 出处:网络
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.:

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

精彩评论

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