On 2009.12.26 20:20, siGis wrote: > Tekstas surinktas notepadu ant XP nusiustas redgavimui i kompa su windows7 grizo atgal su kvadrateliais vietoje perkeltos eilutes ir viskas susirikiavo i viena eile. > Kodel? Gal ten ne win7, o linux, kur eilutės galui užtenka 1 simbolio vietoj 2 (LF vs CR+LF) :) How to Transfer Text Files Between Linux, Macintosh, and Microsoft Windows Operating Systems Text files are often incompatible across operating systems. Why? Because different operating systems use different markers to indicate the end of a line. This can really mess you up if you are trying to transfer files from one operating system to another. The Macintosh uses a carriage return to end a line. A carriage return marking the end of a line is intuitive to anyone who is old enough to have ever used a typewriter. For those too young to know, an electric typewriter has a big key called a carriage return that automatically advances you to the next line. The carriage return is often referred to by the capital letters CR. On a Macintosh, every line has a CR at the end. Under Linux (a variant of Unix), the end of a line is indicated by a line feed. Every line ends with a line feed or LF. Calling the end of a line an LF versus a CR is not just semantics. These are 2 very real characters with 2 very real and very separate numeric representations on a computer. A CR is a 13 in the ASCII table of characters and an LF is a 10 in the ASCII table of characters. Contributing to the confusion is that fact that Microsoft Windows does things yet another way. Under Microsoft Windows, lines end with a combination of 2 characters -- a CR followed by a LF. Symbolically, this is represented as CRLF or carriage return, line feed.