libbash.sh 1.9.0
Added
- New function:
lb_edit()
to edit a file properly with thesed -i
command
Changes
lb_array_contains()
renamed tolb_in_array()
(old name kept for compatibility)lb_dir_is_empty()
renamed tolb_is_dir_empty()
(old name kept for compatibility)- Improve error management to avoid crashes when using command
set -e
- Code quality improved by ShellCheck
- Various performance improvements
Debian/Ubuntu package
Download the debian package in the assets section above to use libbash.sh everywhere!
Just run source /usr/lib/libbash/libbash.sh
from a terminal or a script and you will have access to all the libbash functions and variables.
You can also check the package with the SHA-256 checksum.
Documentation
Read documentation here and check the Wiki for tips and tricks on Bash
Help us
Please help us to improve libbash.sh by testing and report bugs or ask for new features here.
If you like libbash.sh, you can give a star on Github to show your support to the project.