From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-07-08 20:11:04
At 06:44 PM 7/8/2002, David B. Held wrote:
>"Beman Dawes" <bdawes_at_[hidden]> wrote in message
>> Maybe ban files that mix CR-only line terminations with the other two.
>> Anyone have any better ideas?
>Since, according to Chris Little, Mac users have no problems with
>CR/LF or LF line endings, it doesn't seem too unreasonable to ban
>CR line endings. Would it make sense to have a script that converts
>all files to CR/LF or LF only, and run it right before assembling the
>release distribution? The script could just scan files, and when it
>read a CR without a following LF, it could add it. LF only files don't
>seem to be a problem.
We already force NL for .gz distributions, and could start to force CR/NL
for .zip distributions.
But that doesn't do anything for those who checkout files directly from
CVS. At least with the CVS client (WinCVS) I use, there is a switch to
force NL, but apparently no switch to force CR/NL.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk