Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo]

From: Andrey Chernov <ache_at_nagual.pp.ru>
Date: Tue, 17 Jun 2008 11:46:07 +0400
On Tue, Jun 17, 2008 at 09:21:52AM +0200, Gabor Kovesdan wrote:
> Sorry for the possibly silly question, but what we mean localization 
> here in the case of grep? As far as I see, it works with wide chars, 
> because the regex library is aware of those. What other aspect needs to 
> be taken into account? 

See how word boundary handled in util.c there for example. They treat 
buffer as single chars only. wctype should be used instead ctype in all 
places in the code with corresponding mbrtowc conversion.

-- 
http://ache.pp.ru/
Received on Tue Jun 17 2008 - 05:46:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC