bug-coreutils
[Top][All Lists]
Advanced

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

bug#6707: cut is not multi byte (wide char) aware


From: Pádraig Brady
Subject: bug#6707: cut is not multi byte (wide char) aware
Date: Fri, 23 Jul 2010 00:24:42 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

On 22/07/10 19:49, Mihai Moldovan wrote:
> Hi,
> 
> I have come to notice that cut is not yet multi byte/wide char aware.
> 
> That it, you cannot use characters as delimiters, which consist of two
> bytes or more in the current char set.
> 
> Simplest example:
> 
> address@hidden echo "this€is€a€bug€test" | gcut -d '€' -f4
> gcut: the delimiter must be a single character
> Try `gcut --help' for more information.
> 1 [0 running job(s)] {history#1425}  20:47:43 10-07-22
> 
> BSD cut however has got no problems with that:
> 
> address@hidden echo "this€is€a€bug€test" | cut -d '€' -f4
> bug
> 
> 
> (Is this even considerable as a bug, or just a "feature" in that only
> one byte delimiters are allowed by default?)

We're working on it.
Something is coming soon.

cheers,
Pádraig.





reply via email to

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