Text formating
Matthew Miller
mattdm at mattdm.org
Mon Apr 26 15:41:33 UTC 2004
On Mon, Apr 26, 2004 at 09:48:12AM -0500, Bill Gradwohl wrote:
> Mary has a little lamb, it's fleece was white as snow.
Also you want one that changes it to "its fleece". :)
> Further, I'd like it to recognize the period at the end of a sentence as the
> only possible place where a new line might be appropriate as a separator
> before the next paragraph.
What about exclamation or question or quotation marks?
> What I'm trying to do is format pages of text that have arbitrary newline
> characters at position 72 and remove all of them except the ones that
> separate paragraphs. The fmt utility can fix up the sentence above, but it
> inserts newlines of its own.
>
> Does such a utility exist?
perl. There's several CPAN modules dealing with text wrapping.
Or you count try fmt with a very very large value for -w.....
--
Matthew Miller mattdm at mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
More information about the fedora-list
mailing list