bug-coreutils
[Top][All Lists]
Advanced

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

fold UTF ready?


From: jidanni
Subject: fold UTF ready?
Date: Sun, 14 Oct 2007 08:57:27 +0800

fold (GNU coreutils) 5.97
* counts bytes, not columns, even without -b
* has no compassion for multibyte chars, turning UTF-8 into illegal sequences.
export LC_ALL=zh_TW.utf8
echo 不准作台灣人|fold --help
echo 不准作台灣人|fold -w 2
echo 不准作台灣人|fold -w 3
echo 不准 作台灣人|fold -w 3
echo 不准 作 台灣人|fold -w 3
echo 不准 作 台灣人|fold -w 3 -b
echo 不准 作 台灣人|fold -w 3 -s
echo 不准 作 台灣人|fold -w 4 -s




reply via email to

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