Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Re: pdksh: problem with read and string compare To: cygwin AT cygwin DOT com Message-ID: From: "Thomas Muehlfriedel" Date: Thu, 24 Apr 2003 11:42:27 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Ok, so it is an erroneous line endings problem. The tmp file containing the output of the external command has line seps of the form 0x0d 0x0d 0x0a. Does it help if I switch the drive to text-mode since drive e is mounted in binmode? muehle AT sparrow /cygdrive/e/DataDictionary/report/resource $ mount D:\software\cygwin\bin on /usr/bin type system (binmode) D:\software\cygwin\lib on /usr/lib type system (binmode) D:\software\cygwin on / type system (binmode) c: on /cygdrive/c type user (binmode,noumount) d: on /cygdrive/d type user (binmode,noumount) e: on /cygdrive/e type user (binmode,noumount) -thomas ------------ 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/