Julien Mills on 15 Sep 2011 05:56:32 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Script question




>> This does not work:
>>
>> $ cat cusmas.sql | sed 's/^\#.*$//g' | tr '\012;' ' \012' | isql rams -b
>>
>> It seems the -b causes the script to not work.
>> I want the -b there, it puts the isql in batch mode.  Does anyone know what the -b is doing?
>>
>>
>This may be the dumbest question ever, but do you need the -b before "rams?"
>>sql -b rams

No, that's an intelligent question. 
But, it doesn't work with the -b before or after on Ubuntu, when I run it I get a 'Segmentation fault'.
And it works both ways on Slackware.

I'm doing some testing right now, maybe something wrong with my ODBC setup.

___________________________________________________________________________
Philadelphia Linux Users Group        --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --  http://lists.phillylinux.org/mailman/listinfo/plug



___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug