How to return an array in bash without using globals? How to return an array in bash without using globals? bash bash