How can I pass an array as parameter to a bash function?
Note: After not finding an answer here on SO, I posted my somewhat crude sollution myself. It allows for only one array being passed, and it being the last element of the parameter list. Actually, it is not passing the array at all, but a list of its elements, which are re-assembled into an array by called_function(), but it worked for me. If someone knows a better way, feel free to add it here.