On Mon, Dec 04, 2023 at 05:26:05PM +0000, Remigiusz Leon Suwalski wrote: > Hi, > I have discovered that `column` utility behaves oddly when piped to another command, as shown on examples below. I am not sure whether this is a bug or intended behaviour. > > First `column` built from sources (commit https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=94feb5a20d23904cc15cd857c4e00f35f495116c): > $ echo '_ __ ___ ________ __________ ________' | ./column -t | nl # strange > 1 __ > 2 ___ > 3 ___ > 4 _________ > 5 __________ > 6 _______ > $ echo '_ __ ___ ________ __________ ________' | ./column -t > file.txt # the same issue as above > $ echo '_ __ ___ ________ __________ ________' | ./column -t # expected > _ __ ___ ________ __________ ________ I cannot reproduce this on the current devel tree and stable/v2.39 tree, I see: $ echo '_ __ ___ ________ __________ ________' | ./column -t | nl 1 _ __ ___ ________ __________ ________ $ echo '_ __ ___ ________ __________ ________' | ./column -t > a $ cat a _ __ ___ ________ __________ ________ Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com