... | ... |
@@ -40,7 +40,11 @@ function xmlgetnext () { |
40 | 40 |
fi |
41 | 41 |
} |
42 | 42 |
|
43 |
+rm -f /dev/shm/sqlite_request |
|
43 | 44 |
function sqlite_request () { |
45 |
+ local delimiter=';' |
|
46 |
+ test ${1:0:1} == '.' && delimiter='' |
|
47 |
+ echo "${1}${delimiter}" >> /dev/shm/sqlite_request |
|
44 | 48 |
if ! sqlite3 "$in_ram_database" <<< "$1"; then |
45 | 49 |
register_state |
46 | 50 |
fi |