When I use "isql -b" option from prompt,it works fine to remove dashed lines and headers.But when I connect to Sybase through script,with "isql -b" option,it says illegal option,listing all options available with isql.
Can someone help me on above issue to remove dashed lines present in the ouput of sybase query result using script.
You might find that you're running slightly different isql commands when you run at the command prompt and in your script. Use the whereis command before at the command prompt and in your script and see if the location of the isql command is the same. If it's different then use the full path to the command that works in your script.