End of Line Formats
Previous  Top  Next

Different operating systems use different conventions for indicating end-of-line in a text file. You should choose the End of Line format that corresponds to the operating system that the text file is going to be viewed in. TEXTfromPDF offers three choices to pick from: DOS/Windows, Unix, or Mac.


Additional information

The following information is not required to properly use TEXTfromPDF. It is merely offered for the curious reader who wishes to know more about End of Line characters.

The three platforms, DOS, Macintosh and Unix, all use a different end-of-line character(s) or EOL to indicate the start of a new line. The EOL character represents the two actions the computer should take in displaying the text file lines. Upon encountering the EOL character the computer should do the following common typewriter functions: carriage return and line feed. These terms are commonly abbreviated as CR and LF. These abbreviations are used for now on.

CR = Carriage Return
LF = Line Feed

Carriage Return is to return the cursor or current active display location for the next character to the beginning of the same line.

Line Feed is to change the display location right below the current position, or in other words, go to the next line below.

DOS—uses two characters at the end of the line: CRLF, in that order.  

Macintosh—uses one character at the end of the line: CR  

Unix—uses one character at the end of the line: LF  

DOS/Windows
CRLF
Mac
CR
Unix
LF
 


They are different in order to protect copyright privileges.