[lug] Those Pesky Newlines

Joseph P. Crotty jcrotty18 at attbi.com
Thu Dec 26 17:36:52 MST 2002


> Is there an obvious way to strip "line wrap" newlines while leaving
> "paragraph separating" newlines intact?

What defines start of "paragraph"?

> IOW, I need to strip all the
> newlines out of a file *except* ones on their own line and ones that are
> on a line with text that is followed by a line that consists only of a
> newline.

We talking unix or M$ files (i.e. define the newline character please?)
Better yet, how about a sample file we can tinker with?




More information about the LUG mailing list