CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep
des at des.no
Wed Jun 18 09:39:14 UTC 2008
Andrey Chernov <ache at nagual.pp.ru> writes:
> Single byte locales collation works through strcoll() via chains, i.e.
> seek all chains starting with given letter. Multibyte locales collation
> currently is not implemented and can't be properly implemented under
> existen single byte framework (it will consume resourses badly in that
> case). I know semi-hacking attempts to implement multibyte collattion via
> single byte one, but all they are only for small ASCII + national alphabet
> subset, rest of Unicode left unsorted.
Does that mean our wcsxfrm() doesn't work? IIUC, it should convert
wide strings to strings that can be compared directly with strcmp()?
In any case, this is a libc issue, right? As long as sort / grep uses
the API correctly, they will work fine once libc is fixed?
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-hackers