ecki/net-tools — pull request #6 by florianl (2014-01-09 19:02:28+00:00)
Title: [PATCH] fix route -6 output and check for tty

Signed-off-by: Lehner Florian

hi!

Currently 'route -6' doesn't fit into a line of 80 characters. In addition the length of $addr6 and $naddr6 differs.
This patch checks if the output is printed on TTY or not. If the destination is a TTY nothing changes.

The following gist shows two outputs of 'route -6': https://gist.github.com/florianl/8269072
In the first output you can see, how it looks like at the moment. The following output displays how it could look like using the attached patch.

with kind regards,
Florian