Skip to content

Use in-place string transformations#65

Merged
codeforester merged 1 commit into
mainfrom
enhancement/64-20260621-inplace-string-transformations
Jun 21, 2026
Merged

Use in-place string transformations#65
codeforester merged 1 commit into
mainfrom
enhancement/64-20260621-inplace-string-transformations

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • Add public assert_variable_name to stdlib for helpers that accept Bash variable names.
  • Change string case and trim helpers to mutate named variables in place instead of printing values for command substitution.
  • Update string validation, README guidance, changelog, and BATS coverage for the no-subshell API.

Validation

  • RED: bats lib/bash/std/tests/lib_std.bats lib/bash/str/tests/lib_str.bats failed on missing assert_variable_name and old stdout string transforms.
  • bats lib/bash/std/tests/lib_std.bats lib/bash/str/tests/lib_str.bats
  • ./tests/validate.sh
  • git diff --check

Fixes #64

@codeforester codeforester merged commit 258bf75 into main Jun 21, 2026
2 checks passed
@codeforester codeforester deleted the enhancement/64-20260621-inplace-string-transformations branch June 21, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use in-place string transformations

1 participant