Conor Schaefer on 15 Sep 2011 05:58:52 -0700


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

Re: [PLUG] Script question


On Thu, Sep 15, 2011 at 8:56 AM, Julien Mills <julienfmills@yahoo.com> wrote:


>> 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.

Ah, thanks for sending the error output. That doesn't at all mean that your syntax is wrong. Try doing a "sudo dpkg-reconfigure packagename" and then rerun your command. (If you need to see which package your command is in, try "aptitude search commandname".)
Â

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


___________________________________________________________________________
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