Package: bsdmainutils
Version: 8.2.2
Tags: upstream
Severity: wishlist

"column" seems to treat \e as having a width of 0 instead of skipping
\e[m and similar sequences, so tables that use color don't line up
(regardless of how TERM is set).

For example:

-- >8 --
$ git branch | column
  ab/i18n                                 jk/background-processes-in-tests
  ab/i18n-good                            jn/replace-more
(...)
* debian-sid                              wip-2011-04
  debian-stable                           wip/docs
(...)
$ git branch --color | column
  ab/i18n                                 jk/background-processes-in-tests
  ab/i18n-good                    jn/replace-more
(...)
* debian-sid                      wip-2011-04
  debian-stable                   wip/docs
(...)
$ git branch --color | column | cat -v | sed -e 's/\^\[//g'
  ab/i18n[m                               jk/background-processes-in-tests[m
  ab/i18n-good[m                          jn/replace-more[m
(...)
* [32mdebian-sid[m                        wip-2011-04[m
  debian-stable[m                         wip/docs[m
(...)
-- 8< --



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to