[Info-vax] *.xml files - carriage return's go into file in VMS - how to remove CR's?

Hein, Nashua NH heinvandenheuvel at gmail.com
Fri Mar 27 10:42:18 EDT 2009


On Mar 27, 9:06 am, Chuck Aaron <caa... at ceris.purdue.edu> wrote:
> Can anyone help me with how to search/repl or convert the
> file to eliminate the carriage returns in the xml
> file in VMS?
>
> Thanks,
> Chuck

Explain more! Where are those carriage returns? End of line? How do
you see them?
What are the record attributes NOW, what do you want/need them to be?

The solution MIGHT be : $SET FILE/ATTR=RFM=STM bad.xml

You may want to follow that with $CON/FDL=NL: bad.xml good.xml
Or if you need a STREAM_LF file, on a 8.3 system use:

$CON/FDL="RECORD; FORMAT STREAM_LF"  bad.xml good.xml

If you need futher help consider posting both: $DUMP/RECO=COUNT=3
bad.xml
and $DUMP/BLOC=COUNT=1

Good luck!
Hein.





More information about the Info-vax mailing list