Hacker News new | ask | show | jobs
by bombolo 1253 days ago
But piping to less would display the escape codes, not the colours anyway… which is why this is done.

Imagine grep not working because in between the words that you are searching there is an escape code.

1 comments

That depends on the settings used for less; AFAIK the default for many distros is to display control characters.