Bash Arrays 5: Local Arrays in Recursive Functions

When making a bash recursive function we have to pay special attention to local variables. One special case is when we wish to pass an array to a recursive function. When making recursive function, we have to be careful how we use variables. This post will deal with passing arrays as parameters to recursive functions.…