From: David Abrahams (dave_at_[hidden])
Date: 2002-08-08 18:04:00
Long story -- I've been working with a .cvsrc on my windows machine which
cvs -z9 --lf
Which tells it to use unix newlines. That's because I was working with a
cross-mounted CVS tree on a linux machine for a while. However, when I make
a new file it starts with DOS line endings unless I say otherwise. So I've
been checking in a lot of files with DOS line endings by mistake. I correct
them as I find them, but haven't been systematic. It's time I removed
the --lf from my .cvsrc, but I have to get a fresh CVS tree in order to do
David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com
----- Original Message -----
From: "Beman Dawes" <bdawes_at_[hidden]>
Sent: Thursday, August 08, 2002 3:58 PM
Subject: [boost] Line endings in source files
> Following up on an earlier discussion, I wrote a little script to check
> line endings in Boost files. See below for the files found to have at
> least one '\r' line ending.
> In checking a few of these to make sure the script was correct, I noticed
> line endings in the form "\r\r\n". In hex, 0D 0D 0A.
> What's happening here? This isn't a form I'm familiar with.
> Jeremy, Dave? Do you guys have your own standard for line
> (The plan was to convert '\r' endings to "\r\n", but I don't want to do
> that without hearing from the file's originators to make sure "\r\r\n"
> isn't something they really want in their files.)
> 1601 files scanned
> 44 files with CR line endings
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk