|
NAMEreflow - Perl script for reflowing text files using Knuth's paragraphing algorithm.SYNOPSISreflow < input > outputreflow file1 file2 ... > output DESCRIPTIONUses Knuth's paragraphing algorithm (as used in TeX) to "reflow" text files by picking "good" places to break the line.It takes an ascii text file (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 -skipindented causes ALL indented lines to be passed unchanged) The 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.). OPTIONS
AUTHOROriginal "reflow" perl script written by Michael Larsen, larsen@edu.upenn.math.Modified, enhanced and converted to a perl module with XSUB by Martin Ward, martin@gkc.org.uk SEE ALSOText::Reflow(3).perl(1). See "TeX the Program" by Donald Knuth for a description of the algorithm used.
Visit the GSP FreeBSD Man Page Interface. |