#!/usr/bin/env python3 """Insert the night's new rows into OPEN-ITEMS.md, and append the lines owed to existing rows. Deliberately mechanical and idempotent-ish: it refuses to insert a row id that is already present, and it refuses to append an addendum twice. Prints the register size before and after, which the morning note quotes. """ import re, sys, os REG = "/mnt/5_hdd/felhom.eu/git/felhom.eu/documentation/backlog/OPEN-ITEMS.md" NEW = os.path.join(os.path.dirname(os.path.abspath(__file__)), "NEW-ROWS.md") MARK = "