A (at the moment not so) functional bash library
This repository has been archived on 2024-08-13. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2018-01-13 15:16:14 -09:00
src Added build script. Moved libraries from src to lib 2018-01-11 14:35:10 -09:00
test Added build script. Moved libraries from src to lib 2018-01-11 14:35:10 -09:00
build.sh build.sh now executable 2018-01-13 15:16:14 -09:00
CHANGELOG.md Updated README and CHANGELOG 2018-01-11 14:45:04 -09:00
LICENSE Initial commit, added log library 2018-01-04 20:27:11 -09:00
README.md Updated README and CHANGELOG 2018-01-11 14:45:04 -09:00

bunc

© 2017 Antoine Martin <antoine.martin@protonmail.com>, provided under GNU General Public License v3.0.

A set of bash functions

_msg

Messaging framework for scripts.

_if functions

Set of if functions to make life easier

  • _if_array_contains True if variable exists in array as element
  • _if_is_integer True is variable is integer. Can be multiple
  • _if_is_defined True if variable is defined (Not working)
  • _if_has_value True if variable has non-zero value (Not working)

_ansi

Sets terminal properties such as cursor position and text color using ANSI escape sequences.

_cfg

Reads and writes config files delimited by tabs, like fstab, using aw.