The Heirloom Toolchest is a collection of standard Unix utilities. It was derived from original Unix material released as open source by Caldera and Sun, and contains multiple versions of each utility corresponding to SVID3/SVR4, SVID4/SVR4.2MP, POSIX.2-1992/SUSV2, POSIX.1-2001/SUSV3, and 4BSD (SVR4 /usr/ucb). It processes lines of arbitrary length and in many cases binary input data, supports characters in UTF-8 and many East Asian encodings, and contains more than 100 individual utilities including bc, cpio, diff, ed, file, find, grep, man, nawk, oawk, pax, ps, sed, sort, spell, and tar. Extensive documentation is included.
libmime is a MIME parser in the same vein as Expat, the stream-oriented XML parser. As input is fed to the parser, events are generated which an application can catch by registering event handlers. Such events include the Unix From_ line, start of entity, end of entity, entity boundary, header, end of headers, and body. libmime supports MIME message editing through a delta mechanism. Edit contexts are instantiated and changes applied to specific contexts. Edit contexts can then be expressed in standard unified diff format which, when applied to the input source stream, will result in the new message.