I’m fairly proud of myself, I wrote 600 lines of bash which a) works exactly as it should and b) I, despite valiant efforts, have been unable to reduce to a burning heap of crap in any way.

Tomorrow I will attempt to translate it to Ion.