Releases: pruje/libbash.sh
1.22.9
What's new?
Changes
- Use
command -vinstead ofwhichto check if a command exists - Use
id -nGinstead ofgroupsto list user groups - Improvements in unit tests
deb/rpm packages
You can download the deb or rpm packages in the assets section below to use libbash.sh everywhere!
Just run source /usr/lib/libbash.sh/libbash.sh from a terminal or a script and you will have access to all the functions and variables.
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.22.8
What's new?
New features
- New deb & rpm packages automatic builds for GitHub
deb/rpm packages
You can download the deb or rpm packages in the assets section below to use libbash.sh everywhere!
Just run source /usr/lib/libbash.sh/libbash.sh from a terminal or a script and you will have access to all the functions and variables.
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.22.0
What's new?
New features
- New
--ignore-errorsoption when loading libbash.sh to ignore non-critical loading errors - New
--strictoption forlb_yesnoto force user to prompt yes or no - New
--strictoption forlb_choose_optionto force user to choose an option - Added unit tests powered by BATS
Changes
- Remove
--labeloption tolb_input_password(deprecated since 1.3.0) - Remove
lb_detect_osalias (deprecated since 1.0.0) - Remove
lb_array_containsalias (deprecated since 1.9.0) - Remove
lb_dir_is_emptyalias (deprecated since 1.9.0) - Remove
lb_test_arguments(deprecated since 1.19.0)
Bugfixes
- Fixed error in
lb_sayon macOS and Windows
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.21.0
What's new?
New features
- New function
lb_sayto say something with text-to-speech - New
--sayoption tolb_displayandlb_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
What's new?
New features
lbg_notifyis now supported on Windows using PowerShell- Filters in
lbg_choose_fileare 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
What's new?
New features
- New
--templateoption tolb_import_configto import variables only defined in a template file
Changes
lb_test_argumentsis 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
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
What's new?
New features
- New function
lb_ami_rootto 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
What's new?
Bugfixes
- Fix bug that could run false commands on Windows
- Secure
lb_import_configwith 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
What's new?
New features
- New function
lb_cmd_to_arrayto store results of a command in an array. - New function
lb_current_uid(and$lb_current_uidvariable) to get the current user uid - New constant variable
$lb_current_uid
Changes
lb_in_groupdefault user is get bywhoamicommand
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!