4 Jul
2026
4 Jul
'26
5:27 p.m.
On Fri, 3 Jul 2026 13:54:32 +1000
David Gibson
This was... a bit of a nightmare. It took way too long and went down a bunch of blind alleys. I'm not sure how much I like the final result: it's pleasingly terse in some cases, but in others it feels dangerously subtle, requiring a pretty careful understanding of the sequencing rules of C's &&, || and , operators.
That said, while I was at many points ready to pack it in and hack my around the problems limiting the parsing for destination remapping, I couldn't really think of feasible way to do that either. So, here we are.
v5: * Improvements to manpages and usage in 12/13 * No other changes
Applied. -- Stefano