| www.delorie.com/archives/browse.cgi | search |
| 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 |
| Date: | Wed, 10 Apr 2002 22:30:05 +0200 |
| From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
| Reply-To: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
| Organization: | Esse keine toten Tiere |
| X-Priority: | 3 (Normal) |
| Message-ID: | <76292587108.20020410223005@familiehaase.de> |
| To: | "Peter Andersen" <datpete AT daimi DOT au DOT dk> |
| CC: | cygwin AT cygwin DOT com |
| Subject: | Re: Bug: Wrong text file type from CVS under Perl? |
| In-Reply-To: | <000501c1e08f$06f3f140$99170b0a@w2kserver.daimi.au.dk> |
| References: | <000501c1e08f$06f3f140$99170b0a AT w2kserver DOT daimi DOT au DOT dk> |
| MIME-Version: | 1.0 |
Hallo Peter, Am 2002-04-10 um 14:55 schriebst du: > I have set Default Text File Type to UNIX. > This works fine if I check out a cvs repository (via ssh to a UNIX machine, > i.e. CVS_RSH is "ssh") directly from the bash shell: Yep, me too: $ set | grep CVS_RSH CVS_RSH=ssh > bash$ cvs get -d me AT someunix:/path/to/repository foobar > However, if I do this in some perl script, using system(), all files checked > out ends up with a (windows-style) ^M at the end of each line: > bash$ perl 'system "cvs get -d me\@someunix:/path/to/repository foobar';" perl -e 'system "cvs -d:pserver:me\@someunix:/path/to/repository foobar checkout";' which is the correct syntax works for me, sorry, cannot reproduce it. I guess if you checkout the files with dos lineendings someone has checked them in with dos lineendings. > I don't know if this is a known bug? No bug for me. > Output from cygcheck is below. [...] Gerrit -- =^..^= -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |