Re: Eliminating .txt file hard returns

Subject: Re: Eliminating .txt file hard returns
From: Martin Soderstrom <mrs -at- KLG -dot- COM>
Date: Fri, 23 Oct 1998 09:54:58 -0400

Are you sure it's not a UNIX format text file? If it is, loading it into a
multi-platform editor (such as Textpad) will allow you to save it as a DOS
text file.

If that's not the case, look for a pattern in your file following paragraph
breaks (i.e. 2 returns after each paragraph). Do a search and replace on
two returns back to back, turning them into page breaks. Then do a search
and replace on the remaining returns, leaving the replace field blank. Then
do a search and replace on the page breaks, and turn them back into hard
returns.

Hope that helps.

Cheers,
------------------------------------------------------------------
Martin Soderstrom
mrs -at- klg -dot- com
Tel: +1 416 594-1026 x791
+1 800 663-4723
Fax: +1 416 594-1919
Technical Writer, Technical Publications
KL Group Inc.
260 King St. E., Toronto, Canada
Web: http://www.klg.com
------------------------------------------------------------------
-----Original Message-----
From: Peter Ring, PRC <prc -at- prc -dot- dk>
To: TECHWR-L -at- LISTSERV -dot- OKSTATE -dot- EDU <TECHWR-L -at- LISTSERV -dot- OKSTATE -dot- EDU>
Date: Friday, October 23, 1998 9:40 AM
Subject: Re: Eliminating .txt file hard returns


>Gary Robinson wrote:
>
>
><color><param>FF00,0000,0000</param>> Hello,
>
>>
>
>> 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.
>
>
></color>My programme "TrimTXT" has been designed specificly for that
purpose.
>It includes macros for MS Word and WordPerfedc, which permits you to
>mark a text in e.g. Word and then convert it removing the hard
>returns.
>
>
>The programme is shareware with a 30 days trial period. It can be
>downloaded from
>
>
>http://www.prc.dk/software/
>
>
>
><nofill>
>Greetings from Denmark
>
>Peter Ring
>PRC (Peter Ring Consultants)
>- specialists in user friendly manuals.
> prc -at- prc -dot- dk
>- the "User Friendly Manuals" website with links, bibliography, list
> of prof. associations, and tips for technical writers:
> http://www.prc.dk/user-friendly-manuals/
>- text cleaning software, e.g. for reading difficult e-mails:
> http://www.prc.dk/software/
>
>
>From ??? -at- ??? Sun Jan 00 00:00:00 0000==
>
>


From ??? -at- ??? Sun Jan 00 00:00:00 0000=



Previous by Author: Re: FWD: ethical problem/job hunting
Next by Author: Re: All is not well in the Land of Telecommuting
Previous by Thread: Re[2]: Eliminating .txt file hard returns
Next by Thread: Re: Eliminating .txt file hard returns


What this post helpful? Share it with friends and colleagues:


Sponsored Ads