摘要:
1 #!/bin/bash 2 sqlite3 contact.db << ! 3 drop table contact; 4 create table contact ( 5 name char(32), 6 address char(32) 7 ); 8 insert into contact(address,name) values("jiangshang","wuxi"); 9 ! 10 echo 'select *from contact;'|sqlite3 contact.db|awk 'BEGIN{FS= 阅读全文
摘要:
1 #!/bin/bash 2 sqlite3 contact.db << ! 3 drop table contact; 4 create table contact ( 5 name char(32), 6 address char(32) 7 ); 8 insert into contact(address,name) values("jiangshang","wuxi"); 9 ! 10 sqlite3 contact.db<<! 11 insert into contact (address,name) values(& 阅读全文