delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/15/17:28:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3CE2D239.7040709@ece.gatech.edu>
Date: Wed, 15 May 2002 17:25:13 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: "Gerrit P. Haase" <gp AT familiehaase DOT de>
CC: cygwin AT cygwin DOT com
Subject: Re: Changes in latest snapshot
References: <20020512044943 DOT GA5997 AT redhat DOT com> <3CE28FA4 DOT 6080402 AT earthlink DOT net> <3CE2A07E DOT 6040101 AT ece DOT gatech DOT edu> <00bf01c1fc3e$0063ffd0$010b10ac AT bluesguitar DOT org> <97555612588 DOT 20020515215450 AT familiehaase DOT de>

Gerrit P. Haase wrote:


>>I was bitten by this recently too.  In addition to .cvspass and .cvsrc, you
>>probably will need to run dos2unix on the files beneath the CVS directory
>>under each directory of your cvs sandbox.
>>
> 
> Maybe it is also a good idea to include a little wrapper for d2u, (in the
> cygutils package?), to convert recursively all files from where you
> start it?  Or add an option to the executable to run it recursive down
> a whole tree.


Probably not.  You don't want to blindly convert every file under the 
start location -- what if you have actual binaries?  Or you only want to 
convert foo/CVS/* and foo/bar/CVS/*, but not foo/* or foo/bar/* ?

Using 'find' to create a filelist, and piping the result to 'xargs 
dos2unix' is the right answer, here.

--Chuck



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019