I need a command that colorizes some symbol sequence in output of a certain command. I'd like it like grep
make it.
$ some-command | grep symbol-sequence
However grep
removed lines that isn't contained symbol-sequence
. I'd like to have all original lines with highlighted symbol-sequence
. How it can be done?
I have alias grep='grep --color=auto'
in ~/.bashrc
--color=always
at the end of the line – Valentin Bajrami Apr 09 '14 at 12:56