Subversion book.

C. Michael Pilato cmpilato at red-bean.com
Mon Dec 19 08:54:38 CST 2011


I just committed this change:

Index: en/book/ch03-advanced-topics.xml
===================================================================
--- en/book/ch03-advanced-topics.xml    (revision 4234)
+++ en/book/ch03-advanced-topics.xml    (working copy)
@@ -1627,9 +1627,8 @@
         <literal>CR</literal> character present in Windows files as a
         regular character (usually rendered as <literal>^M</literal>),
         and Windows programs combine all of the lines of a Unix file
-        into one giant line because no carriage return-linefeed (or
-        <literal>CRLF</literal>) character combination was found to
-        denote the ends of the lines.</para>
+        into one giant line because no <literal>CR</literal>
+        characters are found to denote the ends of the lines.</para>
 
       <para>This sensitivity to foreign EOL markers can be
         frustrating for folks who share a file across different

Thanks, John.

On 11/15/2011 08:48 AM, John Maher wrote:
>
> Hello
>
> I just wanted to point out something that can be worded better in the
> book.  The paragraph::
> "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."
>
> Is not correct in the latter part.  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(usually)does nothing on the
> screen.  CR moves the cursor all the way to the left of a line on the
> printer.  On the screen itmoves the cursor all the way to the left AND
> down one line.  (Think LF is advancing the paper on a typewriter and CR is
> sliding the paper holder (carriage) all the way to the right). You could
> change all the LF to CR and see the lines in a more readable fasion. It
> would be better if it said something like this:
>
> Windows programs combine all of the lines of a Unix file into one giant
> line because no carriage return(or CR) character was found to denote the
> ends of the lines.
>
> Windows adds the LF as a courtesy for old school printing.
>
> JPM
>
>
> _______________________________________________
> svnbook-dev mailing list
> svnbook-dev at red-bean.com
> http://www.red-bean.com/mailman/listinfo/svnbook-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.red-bean.com/pipermail/svnbook-dev/attachments/20111219/51855f7e/attachment.html>


More information about the svnbook-dev mailing list