From 9f826108f34691d68be5703bd1fc5b385b7c38ce Mon Sep 17 00:00:00 2001 From: Yuanle Song Date: Fri, 5 Apr 2019 12:38:01 +0800 Subject: [PATCH] add test-sql.sh --- test-sql.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 test-sql.sh diff --git a/test-sql.sh b/test-sql.sh new file mode 100755 index 0000000..eb487a3 --- /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:' -- GitLab