(→How to convert a UNIX file into a Windows/DOS file) |
(→Related Resources) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <seo title="Windows | + | <seo title="Convert Windows and UNIX Text Files | vEdit" description="With vEdit you can quickly read and edit Windows/DOS and UNIX Text Files and convert Windows to UNIX and UNIX to Windows in a few simple steps."></seo> |
| − | {{DISPLAYTITLE:Windows | + | {{DISPLAYTITLE:Convert Windows and UNIX Text Files}} |
Each line in a Windows/DOS text file normally ends in both a Carriage-Return and Line-Feed character; this <CR><LF> pair is considered the normal “newline” character even though it really is two characters. At the end of a line, Pressing the <kbd>Delete</kbd> key once deletes the '''<CR><LF>''' pair. Similarly, pressing the <kbd>Enter</kbd> key (in Insert mode) inserts a '''<CR><LF>''' pair. | Each line in a Windows/DOS text file normally ends in both a Carriage-Return and Line-Feed character; this <CR><LF> pair is considered the normal “newline” character even though it really is two characters. At the end of a line, Pressing the <kbd>Delete</kbd> key once deletes the '''<CR><LF>''' pair. Similarly, pressing the <kbd>Enter</kbd> key (in Insert mode) inserts a '''<CR><LF>''' pair. | ||
| Line 8: | Line 8: | ||
UNIX text files normally have lines ending in just a Line-Feed character, which is therefore the “newline” character. Pressing the <kbd>Enter</kbd> key inserts only the Line-Feed character. Carriage-Return characters have no special meaning, and are displayed as '''<CR>'''. | UNIX text files normally have lines ending in just a Line-Feed character, which is therefore the “newline” character. Pressing the <kbd>Enter</kbd> key inserts only the Line-Feed character. Carriage-Return characters have no special meaning, and are displayed as '''<CR>'''. | ||
| − | ==How to | + | ==How to Convert a Windows/DOS File into a UNIX File== |
#To convert the entire file, select <kbd>BLOCK</kbd> > <kbd>Select all</kbd> ( <kbd>Ctrl-A</kbd> ) to block highlight the file. | #To convert the entire file, select <kbd>BLOCK</kbd> > <kbd>Select all</kbd> ( <kbd>Ctrl-A</kbd> ) to block highlight the file. | ||
| Line 25: | Line 25: | ||
*[[Binary_Text_File_Types|Binary/Data and Text File Types]] | *[[Binary_Text_File_Types|Binary/Data and Text File Types]] | ||
*[[Convert_Windows_Mac_Linux|Convert Between Windows, Mac and Linux File Types]] | *[[Convert_Windows_Mac_Linux|Convert Between Windows, Mac and Linux File Types]] | ||
| + | *[[Main_Page#section-editing|Edit EBCDIC, ASCII, ANSI, Hex, Text and Multiple Files]] | ||
| + | *[[Main_Page|Wiki Home]] | ||
Each line in a Windows/DOS text file normally ends in both a Carriage-Return and Line-Feed character; this <CR><LF> pair is considered the normal “newline” character even though it really is two characters. At the end of a line, Pressing the Delete key once deletes the <CR><LF> pair. Similarly, pressing the Enter key (in Insert mode) inserts a <CR><LF> pair.
If a text line ends in just a Line-Feed when the file type is set to “0=DOS text”, <LF> is displayed at the end of the line. Such a line may be corrected by deleting the lone <LF> by pressing the Delete key and then inserting the <CR><LF> pair by pressing Enter.
UNIX text files normally have lines ending in just a Line-Feed character, which is therefore the “newline” character. Pressing the Enter key inserts only the Line-Feed character. Carriage-Return characters have no special meaning, and are displayed as <CR>.
More info over converting Windows to UNIX.
More info over converting UNIX to Windows.