Dear SQLiters,
I am using sqlite3 shell from bash scripts and I stumbled on what I think is incorrect exit code on error. In the first scenario, on error the exit code is 1 -- expected, in the second it is 0 -- unexpected. The error message is the same in both. Is that normal? echo -e "ww; \n.exit" | sqlite3 Error: near line 1: near "ww": syntax error echo $? 1 echo -e "ww" | sqlite3 Error: near line 1: near "ww": syntax error echo $? 0 Thank you, Roman _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

