View Single Post
Old 07-11-2007, 11:47 PM   #47
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,194
Karma: 17169472
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by ns66 View Post
one problem with MS word is, some documents have line breaks per 80 column, it's pain to merge lines one by one, global replace of all line break will erase paragraphs, any idea?
It's not a problem with Word at all. It may be a problem with the text file's poor formatting. If the paragraphs have some way of being identified like say a line space then all you do is search/replace for double paragraph ends and replace with something else not in the text. Then fix the line ends and finally replace the orogianl replace with a single line end followed by 4 spaces to denote the beginning of paragraphs.

example....
This is a test of the
emergency broadcast
system.

I hope you
have passed the test.

Pass 1...
This is a test of the
emergency broadcast
system.@@@I hope you
have passed the test.
Pass 2...
This is a test of the emergency broadcast system.@@@I hope you have passed the test.
Pass 3...
This is a test of the emergency broadcast system.
I hope you have passed the test.

and done
JSWolf is offline   Reply With Quote