DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Working with DOS

Automatic file conversions when using DOS utilities

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.


Next topic: Removing a DOS file
Previous topic: Converting DOS files to and from UNIX system file format

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003