./textproc/p5-Text-Reflow [module for reflowing text files]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 1.09, Package name: p5-Text-Reflow-1.09
Maintained by: Florian Obser
Master sites:
Description
These routines will reflow the paragraphs in the given file,
filehandle, string or array using Knuth's paragraphing algorithm (as
used in TeX) to pick "good" places to break the lines.

Each routine takes ascii text data with paragraphs separated by blank
lines and reflows the paragraphs. If two or more lines in a row are
"indented" then they are assumed to be a quoted poem and are passed
through unchanged.

The reflow algorithm tries to keep the lines the same length but also
tries to break at punctuation, and avoid breaking within a proper name
or after certain connectives ("a", "the", etc.). The result is a file
with a more "ragged" right margin than is produced by fmt or
Text::Wrap but it is easier to read since fewer phrases are broken
across line breaks.


Filesize: 15.434 KB
Version History (View Complete History)
  • (2015-01-02) Package added to openports.se, version p5-Text-Reflow-1.09 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2016-03-20 13:57:24 by Christian Weisgerber | Files touched by this commit (1617)
Log message:
Remove SHARED_ONLY from all CPAN Perl ports and the cpan and perl MODULES.
Add WANTLIB+=perl and PKG_ARCH=* as appropriate.