阅读背景:

可以设置grep(从命令行)来突出显示匹配行的部分吗?

来源:互联网 

I'm using grep from the command line via cygwin. I'm wondering if there's any way to get it to highlight the part of each line that matches the regex. The closest thing I'm seeing is the -o option, but that only outputs the matching area, and I'd like to see the entire line.I'm using grep from the command line via cygwin




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: