AminetAminet
Search:
84476 packages online
About
Recent
Browse
Search
Upload
Setup
Services

text/misc/wordwrap_os4.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Reformat ASCII texts to new width, V2.3
Author:wnoeker at t-online.de (Wilhelm Noeker)
Uploader:chris unsatisfactorysoftware co uk (Chris Young)
Type:text/misc
Architecture:ppc-amigaos >= 4.0.0
Date:2007-12-24
Download:http://aminet.net/text/misc/wordwrap_os4.lha - View contents
Readme:http://aminet.net/text/misc/wordwrap_os4.readme
Downloads:508

(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.


Contents of text/misc/wordwrap_os4.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  276     628  43.9% -lh5- e190 Mar 31  1999 wordwrap.info
[generic]                 2928    7318  40.0% -lh5- 3100 Mar 30  1999 wordwrap/costofwar.txt
[generic]                 3006    6504  46.2% -lh5- b238 Jun  2  1997 wordwrap/hgwells.txt
[generic]                  131     177  74.0% -lh5- c290 Dec 24 10:03 wordwrap/makefile
[generic]                 1857    4128  45.0% -lh5- d11a Jan 11  1997 wordwrap/suntzu.txt
[generic]                 4264    9119  46.8% -lh5- 6567 Jan 10  1997 wordwrap/treasure.txt
[generic]                 9422   22036  42.8% -lh5- 7114 Dec 24 10:03 wordwrap/wordwrap
[generic]                 6138   23677  25.9% -lh5- 51ae Mar 30  1999 wordwrap/wordwrap.c
[generic]                 5513   13164  41.9% -lh5- b51b Mar 31  1999 wordwrap/wordwrap.guide
[generic]                  279     468  59.6% -lh5- a515 Mar 31  1999 wordwrap/wordwrap.guide.info
[generic]                  966    1952  49.5% -lh5- cd6a Mar 30  1999 wordwrap/wordwrap.readme
[generic]                  271     463  58.5% -lh5- 4dc4 Mar 31  1999 wordwrap/wordwrap.readme.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        12 files   35051   89634  39.1%            Dec 24 08:40

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>