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 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> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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