OS4Depot.net 20130227_1013
  Home Search Mirrors Contact Info Credits

 Readme data for Root » Utility » Text » Convert » wordwrap.lha

Description: Reformat ASCII texts to new width
Install: wordwrap.lha
Size: 35kb 5
Version: 2.3
Date: 03 Sep 10
Author: wnoeker at t-online.de (Wilhelm Noeker), os4 port by chris young.
Submitter: Spot / Up Rough
Email: spotup/gmail com
Category: utility/text/convert
License: Other
Distribute: yes
Min OS Version: 4.0
(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.








Copyright (c) 2004-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment