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.
bunc/README.md
ayakael fca165b274
* Changed name for _log function to _msg, added bail() function.
* Created _ansi function library to set terminal properties like
  cursor position and text color.
* Created _if function library, a set of simple if statements.
  Added _if_array_contains, _if_is_integer, _if_is defined,
  if_has_value
2018-01-06 20:30:09 -09:00

600 B

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.