(Quick recompile of WordWrap for OS4, no changes required! - Chris)
"WordWrap" is a text filter that rearranges the line breaks in a plain
ASCII text, preserving paragraphs (or merging them into one, if you
wish ;-). Both popular methods of separating paragraphs are supported
(indentation and blank lines). There are several ways to prevent special
stuff like lists, addresses or captions from being reformatted.
"WordWrap" even works on texts with hyphenated words.
Try these (nonsense) examples to get an idea what it does:
wordwrap <wordwrap.c -l60
wordwrap <wordwrap.c -b
"WordWrap" is Freeware, C source is included.
History
-------
New in V2.3: "Escape mode" now works by counting paragraphs, instead of
looking for handcrafted "escape words".
Recognizes ANSI escape codes (only drops them, but at least in a
clean way). Recognizes non-breakable space (0xa0).
New in V2.2: Reasonable handling of tabs (at last), option to preserve
"escape words" over several passes of reformatting.
Fixed a bug: -ia didn't work as described, but just like -ic.
New in V2.1: Can put hyphenated words back together.
New in V2.0: AmigaGuide docs, better examples, better recognition of
"end of sentence", extended the "end of line" and "start of line"
keyword feature, can convert blank lines to indentation.
Fixed a few bugs concerning the left margin handling.
New in V1.4: Can look for keywords which should always end an output
line and/or start a new one.
New in V1.3: Can add extra wide space after sentences.
Fixed a bug concerning "escaped" paragraphs.
New in V1.2: Can convert indentation to blank lines,
added an "escape mode" for persistent cases of unwanted reformatting.
Fixed a severe bug that would swallow words starting with a non-ASCII
character. %-(
New in V1.1: options to add/strip an additional left margin.
| |