OS4 DepotLogo by Alkaron 
(anonymous IP: 3.142.172.190,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


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

Wordwrap

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 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
FileID: 5884
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 14  (Current version)
14  (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
(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-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment