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 18: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.

Thread locked

Messages in this Thread

94,964 Postings in 11,969 Threads, 349 registered users, 26 users online (2 registered, 24 guests)
Index | Admin contact |   Forum Time: May 25, 2020 - 6:50 pm EDT  |  Hits:31,229,492  (5,839 Today )
RSS Feed