ASCII text files can contain different forms of newlines, depending on which operating system is being used. Converting between these formats is often necessary if you use several operating systems. The flip program will convert the newlines to any format given in the table below:
|Operating System||Newline Character(s)|
|Microsoft Windows / MS-DOS||0Dh 0Ah|
|Apple Macintosh OS 9 and earlier||0Dh|
|Unix (e.g., Linux), also Apple OS X and higher||0Ah|
To convert a Windows file to a Unix file, enter:
To convert a Unix file to Windows, enter:
In vi, you can remove carriage return ( ^M ) characters with the following command:
Note: To input the ^M character, press Ctrl-v , and then press Enter or return.
Craig's flip.exe cannot hanlde windows unicode file.