[Info-vax] wrong file format

Michael Moroney moroney at world.std.spaamtrap.com
Wed Dec 23 13:49:33 EST 2020


moroney at world.std.spaamtrap.com (Michael Moroney) writes:

>helbig at asclothestro.multivax.de (Phillip Helbig (undress to reply)) writes:

>>I have a damaged file which looks fine except that I see (in EDT)
>>explicit carriage returns at the end of each line AND extra blank lines 
>>between each pair of lines.  None of the standard SET FILE/ATTR 
>>incantations seems to work.

>>Long story and it's late.  :-|  Maybe someone has a suggestion.

>Try the following:

>$ COPY NL: NEWFILE.DAT
>$ APPEND OLDFILE.DAT NEWFILE.DAT
>(ignore incompatible file type warning)

>If NEWFILE.DAT still has stray <CR> and/or <LF> they can be removed with EDT.

More details: Look at the file with EDT screen mode. If the file looks correct 
other than <CR> or <LF> characters, do the following:

[PF1][KP7]s/^M//w/notype[KP Enter]
[PF1][KP7]s/^J//w/notype[KP Enter]

where ^M and ^J are control-M and control-J respectively, not the physical
characters.

Keep the old file in case this destroys something.



More information about the Info-vax mailing list