fix sql file
This commit is contained in:
@@ -32,4 +32,4 @@ fi
|
|||||||
# format each row of data retreived from the select statement and pipe to toot
|
# 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'
|
fmt='printf "Final:\n\n%s %s\n%s %s\n\n#baseball #live\n", $1, $2, $3, $4'
|
||||||
post="\"toot post --using $account\""
|
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)}"
|
||||||
|
|||||||
Reference in New Issue
Block a user