This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Changes in latest snapshot


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]