1. 6
  1.  

  2. 2

    Looks pretty nice. Have you considered using shellcheck to examine the code? While it is pretty nice, there are a few places at risk of word splitting.

    1. 3

      Oh, cool, I’d never seen that tool before.

      https://www.shellcheck.net/ for others like me.