misc-tools ========== Overview -------- A collection of miscellaneous tools made in C: * genhtab Generate static C99 hash tables * htmldecode HTML decoding * htmlencode HTML encoding * mbcut Multibyte aware string trimming * natsort Natural sorting for UTF-8 * urldecode URL decoding * urlencode URL encoding * wcswidth wcswidth(3) wrapper Dependencies ------------ A POSIX environment with the following additions: * mktemp(1) -d (build) * curl(1), wget(1) or fetch(1) (htmldecode build) * flex(1) (htmldecode build) Building and installation ------------------------- To build and install a tool (default values shown): $ BIN= [CC=c99] [LTO=false] [NATIVE=false] ./build.sh # BIN= [DESTDIR=] [PREFIX=/usr/local] ./build.sh install Cleanup: $ BIN= ./build.sh clean Uninstall: # BIN= ./build.sh uninstall For all operations, omit BIN= to iterate on all tools. LTO if strongly recommended for mbcut, to avoid binary bloat due to utf8.c containing big Unicode LUTs.