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
ayakael 351516d54c
Fixed dispatcher functions and parser and sanity checks
_cfg_drop_column now leaves no trailing tab
Updated documentation for _cfg insert
2018-01-11 11:05:36 -09:00
lib Fixed dispatcher functions and parser and sanity checks 2018-01-11 11:05:36 -09:00
test Fixed dispatcher functions and parser and sanity checks 2018-01-11 11:05:36 -09:00
LICENSE Initial commit, added log library 2018-01-04 20:27:11 -09:00
README.md * Changed name for _log function to _msg, added bail() function. 2018-01-06 20:30:09 -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.