...it's just so damned... like... it _is_ 5000 lines of bash, but given the constraints and the problem domain, it's an incredible (and well-organized) feat.
If I ever question "How would I do something like XXX in shell?", I can usually find some clues, inspirations, or answers in the `abcde` codebase.
Interesting. I was a bit surprised by the use of echo in the usage() function (and not cat and a heredoc) -- but that certainly looks like a very structured shell script.
https://git.einval.com/cgi-bin/gitweb.cgi?p=abcde.git;a=summ...
https://git.einval.com/cgi-bin/gitweb.cgi?p=abcde.git;a=blob...
...it's just so damned... like... it _is_ 5000 lines of bash, but given the constraints and the problem domain, it's an incredible (and well-organized) feat.
If I ever question "How would I do something like XXX in shell?", I can usually find some clues, inspirations, or answers in the `abcde` codebase.