By downloading this code you agree to the
Source Code Use License (PDF). |
{version = 1.01; (* of wwfmt.p 2000 Nov 12}
(* begin module describe.ww *)
(*
name
wwfmt: word wrap like fmt
synopsis
ww(input: in, output: out)
files
input: text to be wrapped
output: wrapped text
description
This Pascal program takes ASCII text and filters it. Lines longer than the
constant maxline are altered by replacing the first space after position
maxline with a carriage return. This has the effect of wrapping the lines
between 'words'.
Unlike the ww program, wrapping continues for a paragraph. Paragraphs
are separated by blank lines with no characters on them.
The program simulates the unix fmt but unfortunately can't
read the command line.
examples
documentation
see also
ww.p
wl.p
author
Thomas Dana Schneider
bugs
The constant maxline is fixed at compile time, of course.
This probably can be done using a gpc version eventually.
technical notes
*)
(* end module describe.ww *)
{This manual page was created by makman 1.45}
{created by htmlink 1.62}