grep with color
0 votos
October 5th, 2006 mysurface Posted in Misc, Text Manipulation, grep | Hits: 1312 |
Nowadays most of the time, terminal support coloring. For example when you list the files in a directory, the file listed with display with different color, which indicate different type of files.
Grep too, support color, you can do this
grep --color "printf" src
grep will list all lines from files in src directory which have keyword “printf” and the word “printf” will be highlighted with color.
Live Chat!









October 5th, 2006 at 8:18 pm
October 6th, 2006 at 12:49 pm
The problem is, I specified
, but it been coverts to – (& # 8211 ; )
Do you have any solution to solve this problem? Change the templates? how to change the entire blockquote to use < code >
October 6th, 2006 at 4:55 pm
I see, mostly it’s the WYSIWYG HTML editor silent conversion, I will test the editor on this weekend.
Maybe we can add a new “code” button with in that editor, let’s try.
October 11th, 2006 at 8:15 pm
I face another problem when using
< pre > < code > pair, ‘\’ inside it will be deleted.October 11th, 2006 at 10:35 pm
Yes, you are right, therefore you need this \ for ( \ )
Always check out HTML symbol for more at http://www.primeshop.com/html/jump3b.htm