Formats plain text and improves upon the classical fmt tool. Well suited as a reformatting filter for mails, reports, README files and all kinds of structured typescripts.
Features include:
- Knows about section headings, numbered item lists, unordered lists, paragraph numbers.
- Can automatically renumber sections, items, paragraphs.
- Handles no-break space (NBSP) and soft hyphen (SHY) sensible.
- Uses Unicode internally, reads and writes 8-bit oder UTF-8 encoded files.
- Recognizes preformatted paragraphs (eg source code, tables).
- Reformats paragraphs either using the traditional greedy line breaking algorithm, or a TeX-like optimizing algorithm.