[Info-vax] *.xml files - carriage return's go into file in VMS - how to remove CR's?
JF Mezei
jfmezei.spamnot at vaxination.ca
Fri Mar 27 11:51:47 EDT 2009
Chuck Aaron wrote:
>>> Record format: Variable length, maximum 0 bytes, longest 16843 bytes
If you EDIT/TPU the .XML file, do you see a record that is 16k long ? Or
is this just a random number stored in the file header ?
One way to fix this would be to write a small C program that would do
character IO (getc, putc) and just not output the CR characters. (or
output them as newlines, and then ignore the newline characters read on
input, it all depends on how your input file is structured).
More information about the Info-vax
mailing list