Skip to content

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!

Assets 4

@pruje pruje released this Oct 8, 2019 · 3 commits to master since this release

What's new?

Bugfixes

  • Fixed bug when inserting a value in empty file in lb_set_config
  • Improve documentation about libbash options calls

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!

Assets 4

@pruje pruje released this Sep 23, 2019 · 5 commits to master since this release

What's new?

New features

  • New option --no-spaces in lb_set_logfile to set values like param=value

Changes

  • lb_get_config gets the last value of the file/section if multiple values found
  • lb_set_config sets the last value of the file/section if multiple values found
  • Minor improvements in lb_is_comment

Bugfixes

  • Fixed bug in section detection in lb_set_config

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!

Assets 4

@pruje pruje released this Sep 3, 2019 · 11 commits to master since this release

What's new?

Changes

  • lb_set_logfile creates log file if it does not exists

Bugfixes

  • Add usage error detection for lb_edit

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!

Assets 4

@pruje pruje released this Aug 29, 2019 · 14 commits to master since this release

What's new?

New features

  • New option in lb_set_logfile to write logs in Windows format
  • New option in lb_abspath to not test absolute paths

Changes

  • lb_get_config and lb_set_config sets quotes automatically
  • Minor code optimizations

Bugfixes

  • Avoid reading Windows endline characters in config values
  • Insert new config lines failed on macOS/*BSD
  • Fix spaces detection in grep regex for macOS/*BSD 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!

Assets 4

@pruje pruje released this Jul 22, 2019 · 23 commits to master since this release

New features

  • Add stdin support for some functions:
    • lb_print
    • lb_error
    • lb_display and lb_display_*
    • lb_log
    • lb_trim
    • lb_is_comment
    • lb_email
    • lbg_display_*
    • lbg_notify
  • New analyse mode for lb_read_config
  • lb_getargs and lb_getopt now supports options with syntax --option=value
  • New filters argument in lb_import_config to import only some variables
  • New function: lb_migrate_config to migrate config files

Changes

  • Internal variables and functions are renamed with custom prefix
  • Code cleaning

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

Assets 4

@pruje pruje released this May 15, 2019 · 50 commits to master since this release

Changes

  • Append an empty line above a new section in lb_set_config

Debian/Ubuntu package

Download the debian package in the assets section below if you want 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.
deb packages are build with deb-builder tool. Build config is available here.

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

Assets 4

@pruje pruje released this Apr 9, 2019 · 52 commits to master since this release

Changes

  • Minor improvements for variables
  • Update documentation for BSD support

Debian/Ubuntu package

Download the debian package in the assets section below if you want 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.
deb packages are build with deb-builder tool. Build config is available here.

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

Assets 4

@pruje pruje released this Mar 18, 2019 · 55 commits to master since this release

New

  • BSD systems are now supported!

Debian/Ubuntu package

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

Assets 4

@pruje pruje released this Feb 1, 2019 · 59 commits to master since this release

Added

  • New function: lb_istrue to test boolean values

Changes

  • Many code optimizations
  • Improve documentation

Debian/Ubuntu package

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

Assets 4
You can’t perform that action at this time.