This shell script uses awk
to transform a MySQL dump file into a format compatible with SQLite, while preserving MySQL KEY
clauses as separate commands. The script can be used by piping the MySQL dump file to the script, then piping the output to sqlite3
, as shown in the example usage section.