fix sql file
This commit is contained in:
		
							parent
							
								
									41d494eab4
								
							
						
					
					
						commit
						8654bb13c3
					
				| 
						 | 
				
			
			@ -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)}"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue