WordStar-like reformat for vi

Michael Schwartz schwartz at uw-beaver
Thu Nov 7 18:12:05 AEST 1985


> Here is the source for the "WordStar" style reformating filter
> printed in the November, 1985 issue of Unix/World magazine.  It
> simulates the ^B command available in the popular WordStar (tm Micropro)
> editor.  It is used to reformat the lines in a paragraph of text
> so that no line is longer than 70 characters, and short lines
> are joined where possible.
> 

There is a command to do this available on standard Berkeley Unix:
fmt(1).
 - Mike Schwartz



More information about the Comp.sources.unix mailing list