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:
>
> io...@nopileos~% 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:
>
> io...@nopileos~% 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.