OILS
/
spec
/
testdata
/
module2
/ for-xtrace.ysh
View on Github
|
oilshell.org
13 lines, 8 significant
1
const __provide__ = :| increment counter |
2
3
echo
'
[for-xtrace]
'
4
5
var counter = 5
6
7
proc increment {
8
echo
"
counter = $counter
"
9
setglobal counter += 1
10
}
11
12
increment
13