Delila Program: wwfmt

wwfmt program

Documentation for the wwfmt program is below, with links to related programs in the "see also" section.

{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.44}
{created by htmlink 1.55}
National Cancer Institute    National Institutes of Health    Health and Human Services    USA Gov - Official Web Portal    Viewing Files    Accessibility