fix sql file

This commit is contained in:
filifa
2024-08-04 15:56:07 -05:00
parent 41d494eab4
commit 8654bb13c3

View File

@@ -32,4 +32,4 @@ fi
# format each row of data retreived from the select statement and pipe to toot
fmt='printf "Final:\n\n%s %s\n%s %s\n\n#baseball #live\n", $1, $2, $3, $4'
post="\"toot post --using $account\""
sqlite3 $db < poststart.sql | awk -F  "{$fmt | $post; close($post)}"
sqlite3 $db < postfinal.sql | awk -F  "{$fmt | $post; close($post)}"