Perhaps awk is not the best language for a long bash/sql interaction like that in quotes here:
command = "sqlite3 filename.sql <<SQL_ENTRY
... several lines of SQL ...
SQL_ENTRY"
Any ideas on how to make a command of many lines appear as one string (or how to better combine awk and sql)?
command = "sqlite3 filename.sql <<SQL_ENTRY
... several lines of SQL ...
SQL_ENTRY"
Any ideas on how to make a command of many lines appear as one string (or how to better combine awk and sql)?