Thanks for the feedback. I was trying to make it work on mobile but maybe I didn't test it well in the end.
As for a sample, I will go and try to make something now. Thanks.
Edit: Example pages here: https://drive.google.com/file/d/1PkUcLv83Ib6nKYF88n3OBqeeVff...
One nit: ^D only exits if the cursor is at the beginning of a line. Enter <space>^D and the session remains.
Otherwise, looks good! Use of "env" and proper quoting are strong signals!
Thanks for the clarification. I will see if I can sneak in a note about this in the next update :)
page 112
> if [[ "${1-}" =~ ^-*h(elp)?$ ]]; then
> ... is an option that starts with one or multiple - characters ...
"one or multiple" is + not *. The regex above will also match "h" and "help" without - character(s).