summaryrefslogtreecommitdiffstats
path: root/lib/common.sh
Commit message (Collapse)AuthorAgeFilesLines
* Return rather than print value in _ob_return.P. J. McDermott2012-09-091-3/+1
| | | | | Don't use _ob_return in command substitutions. Doing so unsets stack variables only in a subshell environment.
* Make sure that _ob_return only unsets variables.P. J. McDermott2012-09-081-1/+1
| | | | | | | | According to POSIX.1-2008, some conformant shells might try to unset a function if: 1. Neither -f nor -v is specified and 2. A variable by a specified name does not exist.
* Implement _ob_local and _ob_return.P. J. McDermott2012-09-081-0/+42