@simon great! next up, work out how to set up a pipeline of bash-parented PIDs, with the stout of each fed to the stdin of the next, and with each subprocess automatically restarted and replumbed on any abnormal edit.
Bash is scary powerful. About the only thing I couldn't do in it is use arrays without leaking memory...