[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pr -COLUMN vs. wide characters

From: Dan Jacobson
Subject: pr -COLUMN vs. wide characters
Date: Wed, 05 Jul 2006 01:19:07 +0800

Why doesn't the first line of this output line up?
$ cat f f|env - pr -2 -T
一二三 123                                  一二三 123
b2  00                             b2  00
C3                                C3
efg                                 efg

Same problem utf-8 or big5. It should line up on fixed width display
devices, some characters being twice as wide as others, regardless of
how many bytes are used to store them on disk, etc.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]