[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spaces added

From: Larry Jones
Subject: Re: Spaces added
Date: Fri, 19 Jan 2001 17:43:40 -0500 (EST)

address@hidden writes:
> I found out recently that when we check out some code that was only 
> recently placed in the repository that it has extra spaces between 
> the lines that weren't there before. Could it be that something was 
> done wrong when the code was originally placed in the repository and 
> is there a way to strip these extra spaces out while preserving the 
> code? Also when looking at the code with different tools, like 
> Tonrado 2, there won't be extra spaces, but there is an extra 
> character that looks like a bold pipe at the end of each line.

My guess is that someone checked in DOS/MS-Windows files on a Unix
machine and now you've <CR> characters at the ends of the lines that
some tools are displaying as newlines and others are displaying as
funny characters.  If that's the case, you need to check the files out,
fix them, and commit the changes.  You may have some kind of DOS-to-
Unix program on your Unix system that you can use to fix them, or you
can use tr.

-Larry Jones

Philistines. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]