]> Kevux Git Server - fll/commit
Cleanup: Apply new script practices.
authorKevin Day <Kevin@kevux.org>
Sat, 28 Jun 2025 03:38:35 +0000 (22:38 -0500)
committerKevin Day <Kevin@kevux.org>
Sat, 28 Jun 2025 03:38:35 +0000 (22:38 -0500)
commitf6868168d36a5fce97f92849ba21e5faa51b7845
treebebd41383e0f9791de2f3373e513093aa624a5fc
parent805ed8743d881ab11ad81bd4f29aa7bc4e118ae4
Cleanup: Apply new script practices.

This is essentially a backport of the 0.7 commit f856496d258a223eb7eb5f8fe645297e8af27b46.

Be more consistent about wrapping all variables in brackets.
This helps make the code more consistent and also more compatible with other interpreters like ZSH.

Don't use echo pipe syntax and instead use "<<<" redirection pipe syntax for passing variables to program calls.

The grep commands should use either `-sho` or `-shoP`.

Add missing 'unset main' calls in some scripts.

Several of the level_3 program scripts are skipped from these changes.
I simply did not want to spend the time migrating those.
12 files changed:
build/scripts/bootstrap-example.sh
build/scripts/bootstrap.sh
build/scripts/generate_codepoints_from_digits.sh
build/scripts/generate_ctags.sh
build/scripts/generate_unicode.sh
build/scripts/install.sh
build/scripts/package.sh
build/scripts/test.sh
level_3/fake/data/build/process_post.sh
level_3/fake/data/build/process_pre.sh
level_3/fake/data/projects/go/example_go/data/build/process_post.sh
level_3/fake/data/projects/go/example_go/data/build/process_pre.sh