summary refs log tree commit diff stats
path: root/java/tobedone
diff options
context:
space:
mode:
authorSudipto Mallick <smlckz@termux-alpine>2024-01-24 16:44:31 +0000
committerSudipto Mallick <smlckz@termux-alpine>2024-01-24 16:44:31 +0000
commit6766b6479a1d30680c1eb59df4c4b720eb22ce1c (patch)
tree19af8079fbed64732f891da09c69356153cc0170 /java/tobedone
parent8fb719f58f91d1f1f187a1db974682fb3736ee05 (diff)
downloadzadania-6766b6479a1d30680c1eb59df4c4b720eb22ce1c.tar.gz
Implement Java Assignment #15 and more
java/{code/ParentWithTwoChildren.java, output/ParentWithTwoChildren.typ, text/ParentWithTwoChildren.typ}: Code, output and assignment text for Java assignment #15
java/state.sql: Update for Java assignment #15
java/template.typ: Allow for long program description to be left aligned
and justified, instead of centered
java/tobedone: Update to show assignment numbers (implicitly `rowid`)
Diffstat (limited to 'java/tobedone')
-rw-r--r--java/tobedone2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/tobedone b/java/tobedone
index dd34705..fa631b8 100644
--- a/java/tobedone
+++ b/java/tobedone
@@ -3,5 +3,5 @@
 {
     cat state.sql
     printf '.mode column\n'
-    printf 'SELECT name FROM `assignments` WHERE NOT %s;\n' "${1:-code}"
+    printf 'SELECT rowid, name FROM `assignments` WHERE NOT %s;\n' "${1:-code}"
 } | sqlite3 | tail -n +3