diff --git a/atom b/atom index 63d19b2..d962645 100755 --- a/atom +++ b/atom @@ -261,7 +261,7 @@ Select() { ",'SQL::Select:not found'" \ ");" >&3 read -u 4 results - results="${results# = }" + results="${results#* = }" if ! [[ $results == "SQL::Select:not found" ]] then echo "$results" @@ -298,7 +298,7 @@ Insert() { (( no_id )) || { echo 'SELECT LAST_INSERT_ROWID();' >&3 read -u 4 results - results="${results# = }" + results="${results#* = }" echo "$results" } } @@ -412,7 +412,7 @@ InsertOrUpdate() { ) ) fi - results="${results# = }" + results="${results#* = }" echo "$results" }