pfff ... There's NOTHING except perhaps Notepad and a few other useless accessories that need CR/LF as end-of-record on recent Windows operating systems.
If you have access to a Win2K box, please do me the favour to write a little cmd or batch script with only LF as end-of-record, and run it. BTW, if you use the Cygwin port of cvs for the command line, you can get the desired behaviour. http://sources.redhat.com/cygwin. You certainly don't need the full package of ported Gnu and open source applications; selecting 'cygwin' and 'cvs' should get you going (no guarantee). If you want to use cvs through ssh, there's a nice description of a minimal install at http://tech.erdelynet.com/cygwin-sshdmin.asp, though you shouldn't select the 'DOS' option. Who cares about Notepad. What's flawed is the idea that the end-of-record format in any text file should be inherently determined by the operating system. Would you also like your OS to determine what character set you should be allowed to use? Kind regards, Peter Ring -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Castle Sent: 5. oktober 2001 19:41 To: [EMAIL PROTECTED] Subject: Re: Checkout text files with the Unix LF (Oxa) - from command line On Fri, Oct 05, 2001 at 09:40:14AM +0200, PS wrote: > I use WinCvs with checked option "Checkout text files with the Unix LF > (Oxa)". I would consider this a design flaw in WinCvs. > And then I have a problem, because all updated files have every second line > empty. What to do to run that option (Unix LF) when I use cvs from command > line in Windows. You don't. Either check the files out on a Unix box, or make it part of your build process to transform the files from native format to Unix format. check out file1.native switch platform: case DOS|NT: dos2unix file1.native file1.unix case UNIX: cp file1.native file1.unix case MAC: mac2unix file1.native file1.unix default: error out unsupported platform use file1.unix mrc -- Mike Castle [EMAIL PROTECTED] www.netcom.com/~dalgoda/ We are all of us living in the shadow of Manhattan. -- Watchmen fatal ("You are in a maze of twisty compiler features, all different"); -- gcc _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
