When I execute grep from within gnome-terminal, I get colored output - easily noticeable match, line-numbers (-n) with different colors etc
But when I execute exactly same grep command through bash script I get plane output, without coloring
Is there a way I can get colored output by using bash script?
--color[=WHEN], --colour[=WHEN]confused me, although it's explained fine – zetah Jan 29 '12 at 23:50