[Info-vax] *.xml files - carriage return's go into file in VMS - how toremove CR's?
Arne Vajhøj
arne at vajhoej.dk
Wed Apr 15 22:00:02 EDT 2009
David J Dachtera wrote:
> JF Mezei wrote:
>> Your dir/full shows the file already has RAT=CR attribute. (carriage
>> return carriage control).
>>
>> If it didn't have it, it would be a simple matter of doing SET
>> FILE/ATTRIB to enable RAT=CR and see RMS hide those end of line CRs for you.
>>
>> One thing you could try:
>>
>> SET FILE mumble.xml /ATTRIB=RAT=NONE
>>
>> Edit it, and see if you now have 1 or 2 CRs at the end of the line.
>>
>> then:
>>
>> SET file mumble.xml /attrib=RAT=CR
>>
>> and see if the CRs have magically disapeared.
>
> Changing a file's record attributes does not change the file's content.
It does not change the physical content of the file (the blocks of
the file).
But it does change the logical content of the file (the records)
by making the CR part of the record delimiter instead of part
of the record.
Arne
More information about the Info-vax
mailing list