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:Re: Eliminating .txt file hard returns From:Mike Stockman <stockman -at- JAGUNET -dot- COM> Date:Wed, 21 Oct 1998 16:07:34 -0400
Gary Robinson wrote:
> 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?
You haven't said which platform you're using, but if you're on a Mac, you
can open the files in a program called TexEdit Plus
(http://members.aol.com/tombb). This program has a handy command called
Quick Modify that contains options to remove carriage returns, line
feeds, or both in a (mostly) intelligent way. On a 500+ page document you
might have to wait a while, but it's the computer doing the tedious part,
not you.
The more-powerful among the ASCII text editors on both platforms also
have features like this... check out TextPad (http://www.textpad.com) on
Windows. TextPad has features to save files as Mac, UNIX, or DOS text,
stripping and adding CR/LF as needed.
Hope this helps.
----->Mike
____________________________________________________________
Internet: stockman -at- jagunet -dot- com AOL: MStockman