TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Eliminating .txt file hard returns -Reply From:David Spiteri <DSPITERI -at- TUC -dot- COM> Date:Wed, 21 Oct 1998 14:53:32 -0500
This can be done in Word by doing a find and replace on two consecutive Paragraph Marks and replaceing them with one paragraph mark. Repeat process until there are no longer any hits. This means that there are no longer any places in the document where two consecutive hard returns exist.
A colleague of mine downloaded an important reference document from the
Internet. This document arrived as a .txt file containing hundreds (at
least) superfluous hard returns. Currently the document is 555 pages
long. We figure it is actually about a third of that length without the
extra returns. Does anyone have any suggestions of how to automatically
remove these returns? To remove them manually could take years and cost
thousands of lives.
A search of the Techwr-l archives didn't prove helpful. I tried
everything suggested without success. All suggestions are appreciated.
Regards,
Gary G. Robinson, Technical Writer
COM, Inc. An Enprotech Company
7300 W. Huron River Drive
Dexter, MI 48130
734-426-7000 x20 734-426-7004 fax
robinson -at- cominc -dot- com