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 |
Subject: | RESOLVED: Re: pdksh: problem with read and string compare |
To: | cygwin AT cygwin DOT com |
Message-ID: | <OF1C0BD589.945AB3BD-ONC1256D12.00466DCC@de.ibm.com> |
From: | "Thomas Muehlfriedel" <MUEHLE AT de DOT ibm DOT com> |
Date: | Thu, 24 Apr 2003 14:52:37 +0200 |
MIME-Version: | 1.0 |
So. I am sorry to have bothered people. It's not a problem of the cygwin environment. I did a redirect in a normal DOS-shell and got the same behaviour. post was: I can do whatever I like I cannot get rid of those 0d0d0a at the end of each line in the tmp file! I mounted the filesystem as text and played with the CYGWIN env variable. Whenever I redirect multi-line output from a standard windows program I get those endings. The tmp file looks like this: 00000000: 0d0d 0a31 2020 2020 2020 2020 2020 2020 ...1 00000010: 2020 2020 2020 200d 0d0a 2d2d 2d2d 2d2d ...------ 00000020: 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 2d2d 0d0d --------------.. 00000030: 0a20 2020 2020 2020 2020 2020 2020 2020 . 00000040: 2020 2020 2d0d 0d0a 0d0d 0a20 2031 2072 -...... 1 r 00000050: 6563 6f72 6428 7329 2073 656c 6563 7465 ecord(s) selecte 00000060: 642e 0d0d 0a0d 0d0a And all I do is "db2 select ... " >tmp So why is this so? -thomas ------------ Who is General Failure and why is he reading my harddisk? ------------ Who is General Failure and why is he reading my harddisk? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |