Context
The latest review called out the absence of a string helper library as the largest functional gap for broader adoption.
Scope
Design and add a lib_str.sh companion library for common Bash string operations, likely including:
- trim whitespace
- upper/lower-case conversion
- split by delimiter
- join arrays
- contains / membership checks
The API should follow the existing sourceable-library conventions, include BATS coverage, and document stdlib dependency and usage examples.
Validation
- Focused
lib_str.sh BATS coverage
./tests/validate.sh
- `git diff --check
Context
The latest review called out the absence of a string helper library as the largest functional gap for broader adoption.
Scope
Design and add a
lib_str.shcompanion library for common Bash string operations, likely including:The API should follow the existing sourceable-library conventions, include BATS coverage, and document stdlib dependency and usage examples.
Validation
lib_str.shBATS coverage./tests/validate.sh