Friday, May 27, 2022

[SOLVED] What are the equivalents of colored grep?

Issue

Sometimes coloring a logfile or other gives a good overview when looking for stuff and behaviors

I just saw that grep have a coloring feature

grep -C 99999 --color <regexp> <filename>

What other methods are there?


Solution

For searching source code, I use ack. It's got a lot of options that make sense for searching code (such as automatically ignoring SCM directories).



Answered By - Greg Hewgill
Answer Checked By - Dawn Plyler (WPSolving Volunteer)