求助:可否为grep 设置高亮?
发表于 : 2009-11-10 14:25
常规情况下:
[admin@host templates]$ grep -r "function show()" *
common/footer.html:function show(){
home/footer.html:function show(){
[admin@ host templates]$
期望效果:
[admin@host templates]$ grep -r "function show()" *
common/footer.html:function show(){
home/footer.html:function show(){
[admin@ host templates]$
可以做到这样的效果不,不然经常看grep的搜索结果 眼睛实在有点累的说
谢谢~
[admin@host templates]$ grep -r "function show()" *
common/footer.html:function show(){
home/footer.html:function show(){
[admin@ host templates]$
期望效果:
[admin@host templates]$ grep -r "function show()" *
common/footer.html:function show(){
home/footer.html:function show(){
[admin@ host templates]$
可以做到这样的效果不,不然经常看grep的搜索结果 眼睛实在有点累的说
谢谢~