strip ANSI color markers in non-interactive mode
authorChristophe Varoqui <christophe.varoqui@free.fr>
Thu, 20 Nov 2008 22:16:01 +0000 (23:16 +0100)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Thu, 20 Nov 2008 22:16:01 +0000 (23:16 +0100)
commit14df6388e07bb09302e1e79b1744414b8a94974c
treebe39fd4ecfce9593ec2f7c051e8d2f7bdaa6f3f0
parent8f0cb7332f468ac7a5f4456ee6076e9a872384ed
strip ANSI color markers in non-interactive mode

Tested with piped and redirected stdout, using either "multipath -l"
or "multipathd show topo". Seems there are no more blatant regression.
Let me know if there are, because I'm tempted to go a little further
with those ANSI codes by highlighting degrated/failure situation.
libmultipath/print.c
multipathd/uxclnt.c