Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article grep: highlighting matches in color:


Re: grep: highlighting matches in color
Posted by Anonymous (81.247.xx.xx) on Thu 9 Nov 2006 at 20:27
You can use "glark" (there is a debian package).
This is a ruby script (as far as know), it's some kind of grep replacement with full color support.

I don't use it too often because I find it very slow compared to grep but when highlight is a must, I use it.

To answer your question, you can use "less" with glark and keep the color support.

For example:

# glark printf /usr/share/doc/glark/README.Debian | less -r

D-fence

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search