Collin Funk wrote:
> >     fold --unicode
> >   and making use of the Gnulib module 'unilbrk/ulc-width-linebreaks' or
> >   'unilbrk/ulc-possible-linebreaks'.
> 
> I think this is a good idea, thanks. Maybe others will take issue to
> linking to the large tables, though.

Large tables in read-only sections are loaded on demand. So, if the input
file is, say, in ASCII, only a small part of the tables get loaded into memory.

The 'libunistring-optional' module, used by GNU gettext, GNU wget, and others,
leaves the way to deal with this dependency to the user or distro: Users
who don't have libunistring installed get binaries which include the tables
(via gnulib); whereas distros which pre-install libunistring will get binaries
that are linked against libunistring.so.

Bruno




Reply via email to