-i option incompatible with other options
The sqsh man page includes an example sqsh script:
#!/usr/local/bin/sqsh -i
sp_who
go
In the above example, the "-i" option instructs sqsh to
take input from the sqsh script. If the user provides "-i"
for a sqsh script, then no other command-line options or
arguments are accepted.
Sqsh should be corrected so that "-i" is compatible with
other command-line arguments and options.
Logged In: YES
user_id=1014343
I just fixed one problem with -i, and that was to allow
\read directives to get input from "stdin" instead of from
whatever filehandle sqsh thinks is stdin (i.e. the file
specified with -i). I'm not sure if that is enough to fix
this problem.