summary refs log tree commit diff stats
path: root/java/tobedone
diff options
context:
space:
mode:
Diffstat (limited to 'java/tobedone')
-rw-r--r--java/tobedone7
1 files changed, 7 insertions, 0 deletions
diff --git a/java/tobedone b/java/tobedone
new file mode 100644
index 0000000..dd34705
--- /dev/null
+++ b/java/tobedone
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+{
+    cat state.sql
+    printf '.mode column\n'
+    printf 'SELECT name FROM `assignments` WHERE NOT %s;\n' "${1:-code}"
+} | sqlite3 | tail -n +3