highlight is a small command-line utility to colorize stdin via regex matches.
go get -u github.com/augustoroman/highlight
echo -e "The quick \nbrown fox \njumped over\nthe lazy dog" | highlight -c 'white+d' -l red fox -w 'yellow+b' lazy
A command-line utility to colorize text based on regular expression matches.
GoMIT