I have some output of my program:
# php check.php | grep -E "rule_1|rule_4"
I would like results equaling to rule_1 to be red and results equaling to rule_4 to be blue.
Is this possible, because at this moment, everything is colored red.
colorgrep
I have some output of my program:
# php check.php | grep -E "rule_1|rule_4"
I would like results equaling to rule_1 to be red and results equaling to rule_4 to be blue.
Is this possible, because at this moment, everything is colored red.
Best Answer
Try this: