I use cucumber to run some tests. He paints his result using ANSI screens. It's great, but it currently produces more products than I care and push things that excite me from the screen. There seems to be no way to eliminate the other lines from the cucumber, but I can skip the output through grep to reduce to what I need.
The disadvantage of this solution is that all colors are lost. I know this is not my shell or grep error, because % echo "\e[35mhello\e[00m world" | grep hello % echo "\e[35mhello\e[00m world" | grep hello works just fine, so there should be a cucumber that turns off its color in some way.
How to save color output when I connect the output of the cucumber?
source share