Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 680 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 680 Bytes

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.