Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 26 lines (20 sloc) 226 Bytes
#!/bin/bash
#
# Usage:
# ./run.sh <function name>
set -o nounset
set -o pipefail
set -o errexit
f() {
local x='local to f'
g
}
g() {
local y='local to g'
h
}
h() {
local z='local to h'
echo $x - $y - $z
}
f