[Top][All Lists]

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

Re: How to handle cariage retrun ?

From: Arno Schuring
Subject: Re: How to handle cariage retrun ?
Date: Thu, 9 Sep 2004 07:48:09 +0200

> Hi,

> Now I wanted to upload a text file (zipped on Windows) via ftp and then
> unzip and commit it directly on the server (using telnet).

> The problem is that it has changed the cariage return.
> Any Windows client updating this file gets now only "/n" cariage retruns,
> insted of "/r/n".
> Could someone propose a solution to update a file with crlf on a linux
> server without changing the crlf for the windows clients ?
don't use crlf on linux

> I also found this in the cvs help. [Does it mean that I should have used a
> text file with only "/n" cariage return to make my commit on linux ?]:
yes you should. There are a number of different options you can try:
- send the file (unzipped) though ftp ASCII mode
- use the dos2unix command after unzipping
- don't use ftp, let cvs handle the file transfer
- use the dos2unix command directly on the repository file (I didn't say

> Thanks,
> Didier

reply via email to

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