-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
POSIX sh does not include local variables [1], so we're switching to the convention of using: _func_var_name for local function variable names, so that we always have distinct names. This does lead to rather verbose variable names, but this is an acceptable trade-off in order to have correct program behaviour. [1] Adding "local" to POSIX was discussed, but rejected, in: https://www.austingroupbugs.net/view.php?id=767 It's possible to get "local variables" by abusing eval, but those solutions don't look appealing.
- Loading branch information
Showing
2 changed files
with
159 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.