[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: What do you Hate about Subversion?

From: Frodak <frodak17_at_yahoo.com>
Date: 2007-02-05 14:44:05 CET

--- "Victor A. Wagner Jr." <vawjr@rudbek.com> wrote:

> >So how many EOLs are their in "\r\n\r\n\n" is that
> 3,
> >4, or 5 blank lines in my text file. Because it
> does
> >matter to the formatting of the file. Just because
> a
> >c compiler doesn't care, doesn't mean that it is
> not
> >important to my perl POD output.
>
> it's 2 blank lines... the first \r\n is at the end
> of a non-blank line <sigh>

You've disregarded that the file could have mixed EOLs
from Mac and Unix, only. There for a \r is a new
line, and \n is a new line, and therefore had 5
newlines. You've assumed to interpret \r\n as a
single new line as in DOS.

My point is that the number of new lines in a mixed
EOL format is open to interpretation. Plain and
simple.

> and, IF your perl program "cares" about it, it's
> BROKEN (the comment
> that started this entire thread)
>
>

man perlpod. You'll be enlightened about how the
number of blank line can make a difference.

 
____________________________________________________________________________________
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 5 14:44:29 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.