In-reply-to » I love shell scripts because they’re so pragmatic and often allow me to get jobs done really quickly.

Which once fixed, removing the extra [ and ] errors out with shellcheck as expected:

Invalid number for -eq. Use = to compare as string (or use $var to expand as a variable). [SC2170]

⤋ Read More