SQLite Forum

sqlite3 .shell - conditional executions with `[[ expr ]]` constructs
Login
> Certainly I love to have this done easier way.

Such as [what Warren suggested](/forumpost/d45e65fe01): invert the equation and call sqlite3 from shell code instead of calling shell code from sqlite. The path you're taking now is... well, *That Way Lies Madness*.