diffstat already has a -w option which can be used to achieve the same result.
Making it respond to the environment variable would change existing uses.
man diffstat
-w number
specify the maximum width of the histogram. The histogram will
never be shorter than 10 columns, just in case the filenames get
too large.
--
diffstat does not honor COLUMNS environment variable
https://bugs.launchpad.net/bugs/209537
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs