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 to a

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: 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 error

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

2010-01-07 Thread Buchbinder, Barry (NIH/NIAID) [E]
KJ kjathome at 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:

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

2010-01-06 Thread RH
KJ kjathome at 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

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 (Reason:

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:

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