linuxmint/mintsystem — pull request #1 by fbuihuu (2012-09-07 08:16:36+00:00)
Title: This is a simple fix to prevent highlight adding escape chars if its stdout is not connected to a tty

Indeed we don't want those charaters in those examples:

$ apt search gcc | less
$ apt search gcc >out.txt

Signed-off-by: Franck Bui-Huu