[p4] Removing end of line character from files in entire source tree

Tony Sweeney sweeney at addr.com
Wed Jan 9 09:00:50 PST 2008


Thierry Lam wrote:
> I current have a depot with all source files ending with the end of line character, is there an easy way to remove them?
>   
Thierry,

could you be a little more precise about the source files, and why the 
final newline is a problem?  It seems to me that all files that consist 
of lines of source code should terminate with an end of line character, 
since each line itself should (some compilers complain if the final line 
of a file has no trailing newline, so this is feasible, but undesirable, 
per those compiler writers).

Tony.
> Thierry
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>
>   


More information about the perforce-user mailing list