1 ## our_shell: ysh
2 ## oils_failures_allowed: 2
3
4 #### global frame doesn't contain builtins like len(), dict()
5
6 try {
7 pp frame_vars_ | grep -o len
8 }
9 pp test_ (_pipeline_status)
10
11 ## STDOUT:
12 (List) [0,1]
13 ## END
14
15 #### global frame doesn't contain env vars
16
17 try {
18 pp frame_vars_ | grep -o TMP
19 }
20 pp test_ (_pipeline_status)
21
22
23 ## STDOUT:
24 (List) [0,1]
25 ## END
26
27