摘要: shell脚本中sqlite3命令查询数据库失败返回空,并将错误信息打印到标准错误输出 如: #/bin/sh local ret='sqlite3 test.db "select test from test;"' 或: local ret=$(sqlite3 test.db "select te 阅读全文
posted @ 2017-08-16 16:44 莘莘学子 阅读(685) 评论(0) 推荐(0) 编辑