in reply to grep with color module of perl
Cheers,
JohnGG
use Term::ANSIColor qw{ :constants }; while(<>){ s/(hello)/RED . $1 . RESET/eg; print } [download]