~dricottone/my-utils

ref: a5400e398c7c8f77d09b3e5966789d38f48a47a6 my-utils/core d---------
New shebangs script; fixes to tar utilities and hugo-post script

The shebangs script helps me manage dependency listings.

The tar utilities were failing with to-directory options or passphrase
options containing space characters. The fix requires some unappealing
bash-isms, but at least it works.

hugo-post now will work from the root directory of a Hugo project.
Help and usage messages

Specify that the help option causes the program to exit immediately.

Standardize order of options then positional arguments.
Update usage message
Use standard arg parser
Added to vimsplit test suite
Added to mkbak test suite
rmold update

Added test suite.

Corrected the name that rmold would self-report as.
gitstat update

Helptext update and test suite added.
wttr update

Added test suite.

wttr incorrectly advertised support for -V as the short form of
--version.
vimsplit update

Test suite added.

Error messages were being incorrectly suppressed.
Test updates

Added two minor tests for ctdir

Added test suite for enumerate
Rewrote tests with bats

As evidenced by the 11 prior commits, proper testing has revealed a
large number of gaps and inconsistencies in these scripts. bats is a
very capable replacement for the old test suite.
Fix quiet option on whiched and whichvi

Previously the quiet option was suppressing the exit code on these
programs.
Effectively no change

I realized why I was deliberately ignoring the quiet option in these
scripts. It was already being handled in myminiparse.sh.
Helptext updates

The more honest description of these programs is [OPTIONS] before
PROGRAM. Options like quiet and verbose do behave differently if they
follow.
whiched and whichvi update

whiched and whichvi should exit as an error if no programs are named as
arguments.

This change was actually accidentally included in an earlier commit for
whiched.
whiched and whichvi now respect the quiet option
whichhead fix

The helptext incorrectly claimed that --number=N was supported.
whichcat now respects the quiet option
Next