GNU bug report logs - #7372
multibyte: fmt and multi-byte encodings

Previous Next

Package: coreutils;

Reported by: Ineiev <ineiev <at> gmail.com>

Date: Thu, 11 Nov 2010 09:42:03 UTC

Severity: wishlist

Full log


Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Erik Auerswald <auerswal <at> unix-ag.uni-kl.de>
To: bug-coreutils <at> gnu.org
Subject: Re: bug#7372: fmt and multi-byte encodings
Date: Fri, 12 Nov 2010 11:00:41 +0100
On Fri, Nov 12, 2010 at 11:13:20AM +0400, Ineiev wrote:
> On 11/11/10, Pádraig Brady <P <at> draigbrady.com> wrote:
> > We're starting to apply multi-byte support,
> > so hopefully this will be fixed soon.
> 
> Could you provide a link?
> 
> > $ echo "1 2 æ 4 5 6" | fmt -w6
> > 1 2
> > æ 4
> > 5 6
> 
> While should be
> 1 2 æ
> 4 5 6
> 
> > That is with the official fedora
> > version of `fmt`
> 
> I can confirm that fmt from official GNU coreutils-8.6 does the same.

The same with coreutils 6.10 on debian Lenny:

$ echo "1 2 3 4 5 6" | fmt -w6
1 2 3
4 5 6
$ echo "1 2 ü 4 5 6" | fmt -w6
1 2
ü 4
5 6
$ fmt --version
fmt (GNU coreutils) 6.10
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Ross Paterson.
$

(Just as a reference.)

Erik
-- 
But heck, system administration is hard, what's a little more rope?
Here, hold this gun while I position your foot...
                        -- Valerie Aurora




This bug report was last modified 6 years and 254 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.