bash-lib
bash-lib copied to clipboard
Library of bash scripts
could not find this function in `list-utils.sh` ```sh function array_indexof() { [ $# -lt 2 ] && return 1 local a=("$@") local v="${a[-1]}" unset a[-1] local i for i in...
After one sorts out the installation troubles, many tests are failing: [replit](https://repl.it/@rico_chet/bash-lib-tests). This doesn't seem to just affect artificial scenarios, but for instance `split_into()` fails miserably on my first try...
It should be possible to manage the dependencies when scripts source each other.
It should be possible to test the test utilities.
The `check_output` function is already implemented. It shouldn't be that difficult to base `check_out` and `check_err` on it.
It should be possible to add a string to a list without having the string evaluated. There may be _some_ use cases where the string should be eval'ed, but the...