Julien Mills on 14 Sep 2011 18:36:29 -0700


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

[PLUG] Script question


Everyone,

I hate to post a dumb question but:
I have a script which runs on Slackware but not Ubuntu.

At the command line, this works:

$ cat cusmas.sql | sed 's/^\#.*$//g' | tr '\012;' ' \012' | isql rams

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?


------------------------------------------------------
Julien Mills julienfmills@yahoo.com
___________________________________________________________________________
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