On Mon Nov 30 09:49:34 EST 2009, rogpe...@gmail.com wrote:
> 2009/11/30 erik quanstrom <quans...@quanstro.net>:
> > i used unfold (/n/sources/contrib/quanstro/runetype/unfold.c.
> 
> % 8c -I ../grepfold unfold.c
> unfold.c:5 8c: 'utfunfold.h' file does not exist: utfunfold.h
> % du -a /n/sources/contrib/quanstro | grep utfunfold.h
> %
> 

utfunfold is generated from the utf tables.  copy the
whole directory and mk.  you'll have to build fold
by hand.  the mkfile is terrible.

> forgive me for not reading the source code,
> but what does unfold do?

unfold turns a character, say ë into the set of
characters that can be folded to the same base
character.  so
        ; unfold ë
        [eèéêëēĕėęěȅȇȩḕḗḙḛḝẹẻẽếềểễệ]
on second thought the [] seem like a bad idea.

- erik

Reply via email to