7.3 Miscellaneous variable facilities

Function: mbfl_variable_alloc _RV

Generate a unique variable name and store it in the variable _RV.

To avoid allocating the same name twice: the function examines the new name testing if its value as variable is empty; if it is empty, it considers it “new”. So, whenever we allocate a name: we should locally initialise the variable to some non–empty value.

local NAME

mbfl_variable_alloc NAME
$NAME   ⇒ mbfl_u_variable_2323
Preprocessor Macro: mbfl_variable_unset (VAR)
Preprocessor Macro: mbfl_unset_variable (VAR)

These macros are synonyms. Expand into a command that unsets the variable VAR:

unset -v VAR

This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.