I didn't mean that bash has no local variables, but rather that if you want to use a function as such without capturing stdout, you need variables that are scoped across your functions, which is usually global or at least effectively global.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: