CONTENTS | INDEX | PREV | NEXT

To convert a Unix/AmigaDOS file to MS-DOS format (a RETURN must become a
carriage return and line-feed combination, and a CTRL_Z character should
terminate the file), the following command sequence should be executed:

h s CR LF ESC , 0 ;cEQ <
   h r RETURN ESC CR LF ESC SPACE ESC
   z-1 j
   a , 10 ;cNE < c i CR LF ESC >
   z j 26 i
> ESC ESC

The Windows-version has the requisite setting built into the CTRL_X-
command, which is of course the preferred method there.