Initial commit of kmr's miscellaneous text tools