News

Bash functions, unlike functions in most programming languages do not allow you to return a value to the caller. When a bash function ends its return value is its status: zero for success, non-zero ...
Functions that return multiple values are hard to name clearly. It's easy to mistake the order of the return values. (password, username) = GetUsernameAndPassword() ...