libbash
A collection of common bash libraries.
TL;DR
Installation
Usage
myscript.sh
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# shellcheck source=/dev/null
source "${DIR}/libbash/init"
source "${LIBBASH_DIR}/str"
lb_to_upper_all foo
Update
From the base dir with libbash
submodule installed.
Inspiration
Inspiration for this repository has been taken from cyberark/bash-lib and dylanaraps/pure-bash-bible.
License
Author
This project was started in 2022 by Nicholas Wilde.