ZTree.com  | ZEN  | About...  

 Index   Back

[OT] Batch file to find and remove returns from a text file   [OT]

By: Peter Shute       
Date: Jan 19,2016 at 23:00
In Response to: [OT] Batch file to find and remove returns from a text file (Neil Clough)

> Hi All,
>
> Thanks for responses and info.
>
> Sorry but on further inspection of my requirements, I have realised
> that I asked the wrong question anyway !!
>
> Basically I have a fixed width text file and I have to join the wrapped
> lines.
>
> Finding and replacing ALL the returns is obviously not the answer !!
>
> I have written an application to process the file and join the lines
> where the previous line has hit the fixed width limit.

Couldn't there be some lines that are exactly at the limit, which don't need joining? Only visual inspection will tell you.

1,109 views      
Thread locked
 

Messages in this Thread

 
96,631 Postings in 12,230 Threads, 350 registered users, 71 users online (0 registered, 71 guests)
Index | Admin contact |   Forum Time: Mar 19, 2024 - 3:39 am UTC  |  Hits:62,007,041  (4,322 Today )
RSS Feed