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

Andrey Chernov ache at
Tue Jun 17 07:48:25 UTC 2008

On Tue, Jun 17, 2008 at 11:46:07AM +0400, Andrey Chernov wrote:
> 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.

Moreover, ignore case matching there is single byte only too and needs the 


More information about the freebsd-hackers mailing list