<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
I just committed this change:<br>
<br>
<tt>Index: en/book/ch03-advanced-topics.xml<br>
===================================================================<br>
--- en/book/ch03-advanced-topics.xml (revision 4234)<br>
+++ en/book/ch03-advanced-topics.xml (working copy)<br>
@@ -1627,9 +1627,8 @@<br>
<literal>CR</literal> character present in
Windows files as a<br>
regular character (usually rendered as
<literal>^M</literal>),<br>
and Windows programs combine all of the lines of a Unix
file<br>
- into one giant line because no carriage return-linefeed
(or<br>
- <literal>CRLF</literal>) character
combination was found to<br>
- denote the ends of the lines.</para><br>
+ into one giant line because no
<literal>CR</literal><br>
+ characters are found to denote the ends of the
lines.</para><br>
<br>
<para>This sensitivity to foreign EOL markers can be<br>
frustrating for folks who share a file across different<br>
</tt><br>
Thanks, John.<br>
<br>
On 11/15/2011 08:48 AM, John Maher wrote:
<blockquote
cite="mid:F2043970413E8447A81E092FCC826016DED884@vmjoan.corp.rotair.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="MS Exchange Server version
6.5.7638.1">
<title>Subversion book.</title>
<!-- Converted from text/rtf format -->
<p dir="LTR"><span lang="en-us"></span><span lang="en-us"><font
face="Arial" size="2">Hello</font></span><span lang="en-us"></span><span
lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"></span><span lang="en-us"><font
face="Arial" size="2">I just wanted to point out something
that can be worded better in the book. The paragraph::<br>
</font></span><span lang="en-us"></span><span lang="en-us"><font
face="Courier New" size="2">"Not all of the various tools on
these operating systems understand files that contain line
endings in a format that differs from the native line-ending
style of the operating system on which they are running. So,
typically, Unix programs treat the CR character present in
Windows files as a regular character (usually rendered as
^M), and Windows programs combine all of the lines of a Unix
file into one giant line because no carriage return-linefeed
(or CRLF) character combination was found to denote the ends
of the lines."</font></span></p>
<p dir="LTR"><span lang="en-us"></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"></span><span lang="en-us"><font
face="Arial" size="2">Is not correct in the latter part</font></span><span
lang="en-us"></span><span lang="en-us"><font face="Arial"
size="2">.</font></span><span lang="en-us"></span><span
lang="en-us"><font face="Arial" size="2"> </font></span><span
lang="en-us"></span><span lang="en-us"> <font face="Arial"
size="2"> The reason a Windows program all the lines of a
Unix file is because there is not because it is looking for
a CRLF. LF advances the printer 1 line and</font></span><span
lang="en-us"></span><span lang="en-us"> <font face="Arial"
size="2">(usually)</font></span><span lang="en-us"></span><span
lang="en-us"> <font face="Arial" size="2">does nothing on the
screen. CR moves the cursor all the way to the left of a
line on the printer. </font></span><span lang="en-us"></span><span
lang="en-us"></span><span lang="en-us"></span><span
lang="en-us"> <font face="Arial" size="2">On the screen i</font></span><span
lang="en-us"></span><span lang="en-us"><font face="Arial"
size="2">t</font></span><span lang="en-us"></span><span
lang="en-us"><font face="Arial" size="2"> moves the cursor all
the way to the left AND down one line. </font></span><span
lang="en-us"></span><span lang="en-us"><font face="Arial"
size="2">(Think LF is advancing the paper on a typewriter
and CR is sliding the paper holder (carriage) all the way to
the right</font></span><span lang="en-us"></span><span
lang="en-us"><font face="Arial" size="2">). </font></span><span
lang="en-us"></span><span lang="en-us"> <font face="Arial"
size="2">You could change all the LF to CR and see the lines
in a more readable fasion.</font></span><span lang="en-us"></span><span
lang="en-us"><font face="Arial" size="2"> </font></span><span
lang="en-us"></span><span lang="en-us"> <font face="Arial"
size="2">It would be better if it said something like this:</font></span></p>
<p dir="LTR"><span lang="en-us"></span><span lang="en-us"><font
face="Courier New" size="2">Windows programs combine all of
the lines of a Unix file into one giant line because no
carriage return</font></span><span lang="en-us"></span><span
lang="en-us"></span><span lang="en-us"></span><span
lang="en-us"> <font face="Courier New" size="2">(or CR)
character was found to denote the ends of the lines.</font></span><span
lang="en-us"></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"></span><span lang="en-us"><font
face="Arial" size="2">Windows adds the LF as a courtesy for
old school printing.</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Arial" size="2">JPM</font></span><span
lang="en-us"></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"></span><span lang="en-us"></span></p>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
svnbook-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:svnbook-dev@red-bean.com">svnbook-dev@red-bean.com</a>
<a class="moz-txt-link-freetext" href="http://www.red-bean.com/mailman/listinfo/svnbook-dev">http://www.red-bean.com/mailman/listinfo/svnbook-dev</a></pre>
</blockquote>
</body>
</html>