Merge branch 'master' into forth
This commit is contained in:
commit
1d6bbe3ea9
|
@ -1,3 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
sqlite3 < "$1"
|
||||
code=`cat "$1"`
|
||||
|
||||
shift
|
||||
|
||||
argv_text=""
|
||||
|
||||
for arg in "$@"
|
||||
do
|
||||
argv_text+='insert into argv (arg) values ("'"`echo "$arg" | sed 's/"/""/g'`"'");
|
||||
'
|
||||
done
|
||||
|
||||
|
||||
sqlite3 <<< "create table argv (arg text);
|
||||
$argv_text
|
||||
$code"
|
||||
|
||||
|
|
Loading…
Reference in New Issue