Skip to content

libbash.sh 1.9.0

Compare
Choose a tag to compare
@pruje pruje released this 08 Jun 21:45
· 128 commits to master since this release

Added

  • New function: lb_edit() to edit a file properly with the sed -i command

Changes

  • lb_array_contains() renamed to lb_in_array() (old name kept for compatibility)
  • lb_dir_is_empty() renamed to lb_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.