|
|
When you display a DOS file using doscat or copy a DOS file to your SCO OpenServer system using doscp, the carriage return characters (^M) are automatically stripped out of the file. When text files are transferred to DOS, the commands insert a ^M before each linefeed character.
Under some circumstances, however, the automatic newline conversions do not occur. doscat and doscp supply the -m option, which ensures that the newline conversion is carried out. The -r option overrides the automatic conversion and forces the command to perform a true byte copy regardless of file type.