In Message-ID:<
afn48gl9d42ogo4hd...@4ax.com>,
Arthur T. <art...@munged.invalid> wrote:
>I'm using Regina REXX on Windows, and I'd like to read a file
>linewise, but the input lines are delimited with CR (x'0d') rather
>than the Windows standard of CRLF (x'0d0a'). These are old-fashioned
>Word (.doc) files - about 200 of them.
I was just about to write my own deblocking code when I decided to
try another tack. I found a free command-line utility to convert the
.doc files to .txt, and those .txt files are delimited with CRLF and
can be easily read by REXX.
Thank you all for your suggestions. If anyone cares, I was going to
use the method I described originally as:
>I could charin the entire file (to variable name filein), and do my
>own deblocking by an iterative, fancied-up version of PARSE VAR
>FILEIN LINEIN (CR) FILEIN.