#!/bin/sh { cat state.sql printf '.mode column\n' printf 'SELECT rowid, name FROM `assignments` WHERE NOT %s;\n' "${1:-code}" } | sqlite3 | tail -n +3