OS4 DepotLogo by Alkaron 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Utility » Text » Convert » wordwrap.lha


Description: Reformat ASCII texts to new width
Download: wordwrap.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 35kb
Version: 2.3
Date: 03 Sep 2010
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
FileID: 5884
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 258  (Current version)
258  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
(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.

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 © 2004-2024 by Björn Hagström All Rights Reserved