results in color
Hi,
i want to search some pattern from a file and want to highlight the exact pattern with some color. is it possible?? i am able to highlight whole line.How could we go for exact that pattern only. |
have you checked
Code:
grep --color |
i want to know for all the case of patterns , i mean by using awk,sed and grep , if i go for find of file how could i make all those output to some specific color.
|
Please elaborate your problem
|
hi,
Code:
$cat my_file |
Code:
grep --color '11' file |
Thanks for valuable answer.
But what about , if i go for awk and sed pattern matching. |
Even I have to look for it. Probably someone will help.
|
How about man sed or man awk and search for the word color??
Other ideas would be to put the words awk or sed and "print in color" in google, I wonder what that might show? |
All times are GMT -5. The time now is 11:14 PM. |