Bash functions are better than I thought
I've been using Bash functions quite liberally over the past couple years, but
last week I discovered that they can be much better than I thought. In this
post, I'll explain how I thought they worked, why I was wrong, and how that
makes them better.Function syntax