Skip to Content.
Sympa Menu

freetds - Re: [freetds] Problems Connecting Debian --> MSSQL through odbc

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: jklowden AT schemamania.org
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Problems Connecting Debian --> MSSQL through odbc
  • Date: Fri, 17 Jul 2009 10:35:56 -0400

On Fri, Jul 17, 2009 at 01:28:55PM +0200, Jaap van Arragon wrote:
>
> If you want me to test more OSQL functionality I gladly want to help!

Thanks, Jaap. I would really like that.

Writing portable shell scripts is hard (for me, at least!) and I can't test
on every OS. When you showed me the awk output, the meaning of it was both
clear and seemingly impossible. Yet Steve recognized it immediately, and
sure enough that was it: you're using mawk.

My first instinct was to say, "Here's a nickle, kid, get yourself a decent
awk." But that's not the right answer unless my job is to rid the world of
broken utilities, which it's not. So, without further ado, I committed a new
osql that works around the problem. (There was only one use of awk that
relied on a regular expression passed to -F, so it was an easy fix.)

http://freetds.cvs.sourceforge.net/viewvc/*checkout*/freetds/freetds/src/apps/osql?revision=1.11

Kindly download revision 1.11 and let me know what you see. You can just run
it normally (without sh -x). Since you have a working setup now, the
messages should report that your setup is OK and connect you to the server.

Regards,

--jkl





Archive powered by MHonArc 2.6.24.

Top of Page