BSFL  0.1.0
Bash Shell Function Library
 All Files Functions Variables Groups
Functions
Array

Functions

 __array_append (array, item)
 Internal use. More...
 
 __array_append_first (array, item)
 Internal use. More...
 
 __array_len (variable, array)
 Internal use. More...
 
 array_append (array)
 Appends one or more items to an array. More...
 
 array_print (array)
 Prints the content of an array. More...
 
 array_size (array)
 Returns the size of an array. More...
 

Detailed Description

Function Documentation

__array_append ( array  ,
item   
)

Internal use.

Parameters
arrayArray name.
itemItem to append.
__array_append_first ( array  ,
item   
)

Internal use.

Parameters
arrayArray name.
itemItem to append.
__array_len ( variable  ,
array   
)

Internal use.

Parameters
variableVariable name.
arrayArray name.
array_append ( array  )

Appends one or more items to an array.

If the array does not exist, this function will create it.

Parameters
arrayArray to operate on.
array_print ( array  )

Prints the content of an array.

Parameters
arrayArray to operate on.
Returns
Content of the array given as parameter.
array_size ( array  )

Returns the size of an array.

Parameters
arrayArray to operate on.
Returns
Size of the array given as parameter.