Skip to content

Releases: pruje/libbash.sh

1.21.0

03 Jun 07:55
Compare
Choose a tag to compare

What's new?

New features

  • New function lb_say to say something with text-to-speech
  • New --say option to lb_display and lb_result

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!

1.20.0

17 Feb 00:03
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!

1.19.0

04 Feb 21:31
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!

1.18.1

21 Jan 19:20
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!

1.18.0

25 Nov 12:38
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!

1.17.1

17 Jul 14:44
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!

1.17.0

17 Jul 13:01
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!

libbash.sh 1.16.1

18 Apr 09:49
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!

libbash.sh 1.16.0

16 Apr 21:30
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!

libbash.sh 1.15.0

17 Nov 19:33
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!