delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/08/09:41:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B4743F8.9000208@gmx.net>
Date: Fri, 08 Jan 2010 15:40:56 +0100
From: KJ <kjathome AT gmx DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Re: Cygwin 1.7.1-1: problem with pipe to windows programs
References: <20100107063506 DOT GE28085 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20100107063506.GE28085@ednor.casa.cgf.cx>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Am 20:59, schrieb Christopher Faylor:
> On Wed, Jan 06, 2010 at 10:44:59PM +0000, Andy Koppe wrote:
>   
>> Bottom line: it's a sqlcmd bug. Report it to Microsoft.
>>     
> Ditto and also watch the generalization in the subject line when
> reporting a bug.  This is hardly a general problem piping to a windows
> program.
>
> cgf
>   
Thanks to all for the answers to my email.

First of all I'm sorry for not being very precise in the subject line.
In fact I didn't test the pipe behaviour with different (windows) filter
programs. Because it used to run and I only updated the cygwin
environment from version 1.5 to 1.7 there was a high indication that the
problem could be related to the udpate. I read the User's Guide and
searched for all pipe relevant sections in the text but there was no
indication that there might be a problem.

But I'm still unhappy not to know what's the difference between a 1.5
and 1.7 pipe and given the workaround below there must be a difference
between a cygwin and a windows pipe (even though there should be not
difference from a user's point of view).

But your comment on the generalization in the subject led me to a work
around.

echo "select @@version" | cmd /c "more | sqlcmd".

KJ





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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