Hi Experts,

T

techonline

Hi Experts,
Please help me complete this daunting task. I have to format a wor
file ( 400 pages). In the file written content is less than the actua
length line. A part of line is left blank . The only way i can make th
extra blank space is to go the end of line , press delete key and th
lower line then gets appended at the end of upper line. I can't do th
above steps for thousands of line. Please tell me a way to merge th
lines by eliminating the blank space.

I am not sure whether i have been able to explain the things clearly
Ok lets try picturising it ..

The PDP-11 had 16,000 words of memory. That was a fantastic advance
over my PDP-4 that had 8,000. The Macintosh on which I type this has
64MB: Unix was not designed for the Mac. What kind of challenge i
there
when you have that much RAM? Unix was designed before the days of
CRT displays on the console. For many of us, the main input/outpu
device
was a 10-character/second, all uppercase teletype (advanced users ha
30-
character/second teletypes, with upper- and lowercase, both). Equipped
with a paper tape reader, I hasten to add. No, those were the real day
of
computing. And those were the days of Unix. Look at Unix today: th
remnants
are still there. Try logging in with all capitals. Many Unix systems
will still switch to an all-caps mode. Weird.

It should be like
==================
The PDP-11 had 16,000 words of memory. That was a fantastic advanc
over my PDP-4 that had 8,000. The Macintosh on which I type this ha
64MB: Unix was not designed for the Mac. What kind of challenge i
there when you have that much RAM? Unix was designed before the days o
CRT displays on the console. For many of us, the main input/outpu
device was a 10-character/second, all uppercase teletype (advance
users had 30- character/second teletypes, with upper- and lowercase
both). Equipped with a paper tape reader, I ten to add. No, those wer
the real days of computing. And those were the days of Unix. Look a
Unix today: the remnants are still there. Try logging in with al
capitals. Many Unix systems will still switch to an all-caps mode
Weird

techonlin
 
J

Jezebel

Go to Tools > Options > View. Check the 'All' checkbox to show all hidden
characters. Your text has probably been formatted either with newline
characters at the end of each line and a paragraph mark at the end of each
paragraph, or a paragraph mark for each line and two paragraph marks for
paragraphs. In both cases you can use Find and Replace to fix the problem:

If you've got newline characters, you can just delete them: search for ^l
(lower case L), replace a single space (or with nothing if there's a space
preceding the newline character.

If you've got paragraph marks, replace each pair of paragraph marks with a
unique string: search for ^p^p and replace with (eg) XXXX (anything that
doesn't otherwise occur in the document); then delete all remaining
paragraph marks (search for ^p replace with space or nothing); then replace
XXXX with ^p.

If you end up with multiple spaces, you can search for two spaces and
replace with one, and repeat until no replacements are made.

Autoformat aims to do the same thing, and works well enough for some
documents. Make a back-up then experiment.


I remember PDP11s, too. Endless jokes about taking a core dump. Did you ever
write programs with punch cards and a bent paperclip?
 
Top