Compare commits
No commits in common. "4614c4357364d82c09543a5f63644ea870cd7b3c" and "81e315609dd2631da8cc1cbbc15fd7e01076cb21" have entirely different histories.
4614c43573
...
81e315609d
|
@ -1,19 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
code=`cat "$1"`
|
sqlite3 < "$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