diff --git a/test-sql.sh b/test-sql.sh new file mode 100755 index 0000000000000000000000000000000000000000..eb487a33a76e1c0030d81404f52f53f85af0c518 --- /dev/null +++ b/test-sql.sh @@ -0,0 +1,6 @@ +#!/bin/sh +sqlite3 -echo \ + -cmd '.headers on' \ + -cmd '.prompt "zerodb> " " ...> "' \ + -cmd 'attach "/usr/share/pyzy/db/open-phrase.db" as "maindb"; attach "/home/sylecn/.cache/ibus/pinyin/user-1.0.db" as "userdb";' \ + ':memory:'