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