UNIX/MAC to DOS command


Use this command to correct the end of line characters for display in UltraEdit and other text editors.

 

Some documents generated from UNIX-based systems (and some other systems) do not terminate each line with a carriage return and line feed.  UltraEdit requires all lines to be terminated with a carriage return and line feed character. 

 

This command searches the file for all carriage return and line feed characters.  If a carriage return character is found without an accompanying line feed character, a line feed character is added.  If a line feed character is found without a preceding carriage return character a carriage return character is inserted.  If a line feed is found preceding a carriage return the characters are reversed.

 

To convert a file to UNIX format, use the DOS to UNIX command.

To convert a file to MAC format, use the DOS to MAC command.  


Article Number: 1272
Posted: Thu, Oct 13, 2011 6:24 PM
Last Updated: Fri, Oct 21, 2011 2:04 PM

Online URL: http://www.ultraedit.com/help/article/unix-mac-to-dos-command-1272.html