FS#55100 - [util-linux] column command corrupts ansi escape sequences
Attached to Project:
Arch Linux
Opened by Thomas Holmes (tholmes) - Thursday, 10 August 2017, 20:35 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 02 December 2017, 16:35 GMT
Opened by Thomas Holmes (tholmes) - Thursday, 10 August 2017, 20:35 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 02 December 2017, 16:35 GMT
|
Details
I use a script that formats git log output using git pretty
printing, sed, and column for layout. After installing
util-linux-2.30.1-2-x86_64.pkg.tar.xz my output has become
corrupted.
The script is this pretty_git_log function found here: https://raw.githubusercontent.com/garybernhardt/dotfiles/master/.githelpers [code]#!/bin/bash [code]* 41c0f8add (4 months) <anukin> KAFKA-5049; Chroot check should be done for each ZkUtils instance[/code] [code]* \x1b[33m41c0f8add\x1b[m \x1b[32m(4 months)\x1b[m \x1b[1;34m<anukin>\x1b[m \x1b[1;31m\x1b[m KAFKA-5049; Chroot check should be done for each ZkUtils instance [/code] If I revert util-linux to util-linux-2.29-2-x86_64.pkg.tar.xz the output is as expected. Other related info. I use Termite for my terminal but this behavior is reproducible in xterm as well. |
This task depends upon
Closed by Dave Reisner (falconindy)
Saturday, 02 December 2017, 16:35 GMT
Reason for closing: Fixed
Additional comments about closing: util-linux 2.31
Saturday, 02 December 2017, 16:35 GMT
Reason for closing: Fixed
Additional comments about closing: util-linux 2.31
Comment by
Thomas Holmes (tholmes) - Thursday,
10 August 2017, 20:36 GMT
Comment by
Dave Reisner (falconindy) -
Saturday, 02 December 2017, 16:34 GMT
Posted about it here:
https://bbs.archlinux.org/viewtopic.php?id=229002
before I realized I should have probably just filed a bug report.
looks like this works again, probably via upstream commit
00e8e677e6c72b756da57ad39a8cf026111c2106