+ map function (maps bash function over array or single value)