I use something like this to fix up column names and import:
sed -i '' -e '1 s/ \/ /_/g; 1 s/[() ]/_/g' $csv_file sqlite3 $db_file <<SQL .mode csv .import $csv_file $table_name SQL
I use something like this to fix up column names and import:
[1] https://sqlitebrowser.org/