Re: Text formating

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



\no.

(Sorry, couldn't resist).

Bill Gradwohl wrote:

I'm looking for a utility that will change:

	Mary had a\n
	little\n
	lamb, it's fleece was white\n
	as snow.\n

To:

	Mary has a little lamb, it's fleece was white as snow.

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 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?

Thank You





--
Steven J. Brown
Business A*nalyst / Programmer
Value Line, Inc.
NY: 212-907-1650
NJ: 201-842-8019
sbrown@xxxxxxxxxxxxx
vldc:win2000:mozilla



--------------------------------------------------
This transmission contains information intended to be confidential and solely for the use of Value Line, Inc., and those persons or entities to whom it is directed. It is not to be reproduced, retransmitted, or in any other manner distributed. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux