Re: Re: Cygwin 1.7.1-1: problem with pipe to windows programs

2010-01-08 Thread Christopher Faylor
On Fri, Jan 08, 2010 at 03:40:56PM +0100, KJ wrote: >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

Re: Re: Cygwin 1.7.1-1: problem with pipe to windows programs

2010-01-08 Thread KJ
Am 20:59, schrieb Christopher Faylor: > On Wed, Jan 06, 2010 at 10:44:59PM +, 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

RE: Cygwin 1.7.1-1: problem with pipe to windows programs

2010-01-07 Thread Buchbinder, Barry (NIH/NIAID) [E]
KJ gmx.net> writes: > within a cygwin shell I used to pipe some data into a windows program > (sqlcmd.exe) which used to work pretty well. Since upgrading to > version > 1.7 I get the following error: > $ echo "select @@version" | sqlcmd > Sqlcmd: Error: Internal error at ReadTextLine (Reason: Un

Re: Cygwin 1.7.1-1: problem with pipe to windows programs

2010-01-07 Thread Andy Koppe
2010/1/6 RH: > echo "select * from mytable" | unix2dos | sqlcmd -S server -U sa -P mypassword > -d myDatabase > > As you can see I'm trying to force the data hitting sqlcmd to be in dos mode > but > somehow I suspect it is getting put into linux-mode line endings before > hitting > sqlcmd.  The e

Re: Cygwin 1.7.1-1: problem with pipe to windows programs

2010-01-06 Thread Christopher Faylor
On Wed, Jan 06, 2010 at 10:44:59PM +, 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 -- Problem reports: http

Re: Cygwin 1.7.1-1: problem with pipe to windows programs

2010-01-06 Thread Andy Koppe
2010/1/6 RH: > KJ writes: >> within a cygwin shell I used to pipe some data into a windows program >> (sqlcmd.exe) which used to work pretty well. Since upgrading to version >> 1.7 I get the following error: >> $ echo "select @@version" | sqlcmd >> Sqlcmd: Error: Internal error at ReadTextLine (Rea

Re: Cygwin 1.7.1-1: problem with pipe to windows programs

2010-01-06 Thread RH
KJ gmx.net> writes: > > Hi, > > within a cygwin shell I used to pipe some data into a windows program > (sqlcmd.exe) which used to work pretty well. Since upgrading to version > 1.7 I get the following error: > $ echo "select @@version" | sqlcmd > Sqlcmd: Error: Internal error at ReadTextLine (

Cygwin 1.7.1-1: problem with pipe to windows programs

2010-01-04 Thread KJ
Hi, within a cygwin shell I used to pipe some data into a windows program (sqlcmd.exe) which used to work pretty well. Since upgrading to version 1.7 I get the following error: $ echo "select @@version" | sqlcmd Sqlcmd: Error: Internal error at ReadTextLine (Reason: Unbekannter Fehler). Is there