Skip to content
Compare
Choose a tag to compare

What's new?

New features

  • lbg_notify is now supported on Windows using PowerShell
  • Filters in lbg_choose_file are now supported on macOS

Changes

  • Minor code improvements

Debian/Ubuntu package

You can download the deb package in the assets section below 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.

  • deb packages are build with deb-builder tool. Build config is available here
  • you can check the package with the SHA-256 checksum

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, please give us a star on Github to show your support to the project!

Compare
Choose a tag to compare

What's new?

New features

  • New --template option to lb_import_config to import variables only defined in a template file

Changes

  • lb_test_arguments is deprecated, but not removed to not break compatibility

Debian/Ubuntu package

You can download the deb package in the assets section below 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.

  • deb packages are build with deb-builder tool. Build config is available here
  • you can check the package with the SHA-256 checksum

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, please give us a star on Github to show your support to the project!

Compare
Choose a tag to compare

What's new?

Bugfixes

  • Fix bug that prevented email to be sent if old mail command was installed

Debian/Ubuntu package

You can download the deb package in the assets section below 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.

  • deb packages are build with deb-builder tool. Build config is available here
  • you can check the package with the SHA-256 checksum

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, please give us a star on Github to show your support to the project!

Compare
Choose a tag to compare

What's new?

New features

  • New function lb_ami_root to test if current user is root

Changes

  • Improve lb_current_uid
  • Improve performance by removing internal functions calls
  • Improves functions independence if you want to copy/paste one of them in a script without loading libbash.sh

Debian/Ubuntu package

You can download the deb package in the assets section below 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.

  • deb packages are build with deb-builder tool. Build config is available here
  • you can check the package with the SHA-256 checksum

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, please give us a star on Github to show your support to the project!

Compare
Choose a tag to compare

What's new?

Bugfixes

  • Fix bug that could run false commands on Windows
  • Secure lb_import_config with escape of < and > characters

Debian/Ubuntu package

You can download the deb package in the assets section below 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.

  • deb packages are build with deb-builder tool. Build config is available here
  • you can check the package with the SHA-256 checksum

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, please give us a star on Github to show your support to the project!

Compare
Choose a tag to compare

What's new?

New features

  • New function lb_cmd_to_array to store results of a command in an array.
  • New function lb_current_uid (and $lb_current_uid variable) to get the current user uid
  • New constant variable $lb_current_uid

Changes

  • lb_in_group default user is get by whoami command

Debian/Ubuntu package

You can download the deb package in the assets section below 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.

  • deb packages are build with deb-builder tool. Build config is available here
  • you can check the package with the SHA-256 checksum

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, please give us a star on Github to show your support to the project!

Compare
Choose a tag to compare

What's new?

Bugfixes

  • Fix bug that prevented lb_set_config to work properly on BSD/macOS

Debian/Ubuntu package

You can download the deb package in the assets section below 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.

  • deb packages are build with deb-builder tool. Build config is available here
  • you can check the package with the SHA-256 checksum

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, please give us a star on Github to show your support to the project!

Compare
Choose a tag to compare

What's new?

New features

  • lbg_choose_file is now supported on Windows using PowerShell
  • Multiple choices for lbg_choose_option is now supported on macOS
  • lb_get_config can now read configs from stdin
  • mail command is now supported for lb_email

Changes

  • Removed unused variable $lbg_path
  • Renamed translations variables (BE CAREFUL TO UPDATE YOUR OWN TRANSLATIONS, IF ANY)

Debian/Ubuntu package

You can download the deb package in the assets section below 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.

  • deb packages are build with deb-builder tool. Build config is available here
  • you can check the package with the SHA-256 checksum

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, please give us a star on Github to show your support to the project!

Compare
Choose a tag to compare

What's new?

New features

  • lbg_choose_option now supports multiple choices with -m option
  • New function lb_group_exists to test if a group exists (does not work on Windows and macOS)
  • New option --display-level in lb_result and lb_short_result

Changes

  • In lb_result and lb_short_result, option --log-level does not affect display level (set in new option --display-level)

Debian/Ubuntu package

You can download the deb package in the assets section below 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.

  • deb packages are build with deb-builder tool. Build config is available here
  • you can check the package with the SHA-256 checksum

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, please give us a star on Github to show your support to the project!

Compare
Choose a tag to compare

What's new?

Bugfixes

  • Fixed bug and enhance reliability of lb_generate_password
  • Enhance reliability of df functions

Debian/Ubuntu package

You can download the deb package in the assets section below 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.

  • deb packages are build with deb-builder tool. Build config is available here
  • you can check the package with the SHA-256 checksum

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, please give us a star on Github to show your support to the project!