Hi Jeremy,
the difference of this and the tools we already do so is a hard enable vs auto 
mode.

The cases we already have are handling --color=auto to only add color if 
running on a terminal.
Instead the --color of ip is a hard enable.

So if you e.g. do:
$ ip --color a > /tmp/foo

Or if we would set up an alias
$ ip a > /tmp/foo

Then the file would contain control chars which no on wants (and could break 
parsing/monitoring).
I checked latest upstream git of iproute and it still is that way.

So I'd assume the best would be to file a bug upstream and link it here
- what do you think Jeremy?

** Tags added: needs-upstream-report

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1691214

Title:
  Consider enabling --color by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/1691214/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to