Lines Matching refs:foo
37 z.foo=( [one]=hello [two]=(x=3 y=4) [three]=hi)
50 typeset -A foo=(
66 z.foo[three]=good
67 [[ ${z.foo[three]} == good ]] || err_exit 'associative array assignment in subshell not working'
73 z.foo[two]=ok
74 [[ ${z.foo[two]} == ok ]] || err_exit 'associative array assignment to compound variable in subshell not working'
81 foo=( qqq=abc rrr=def)
86 unset x.foo
87 [[ ${x.foo.qqq} ]] && err_exit 'x.foo.qqq should be unset'
88 x.foo=good
89 [[ ${x.foo} == good ]] || err_exit 'x.foo should be good'
96 [[ ${l+foo} != foo ]] || err_exit 'l should be unset'
228 foo=$($SHELL <<- ++EOF++
229 (trap 'print bar' EXIT;print -n foo)
232 [[ $foo == foobar ]] || err_exit 'trap on exit when last commands is subshell is not triggered'
237 function foo
248 do y=$(foo)
306 foo=%1$sbar%2$s || foo="exit status $?"
307 print $foo
341 ( CMD='print foo | $cat' EXP=3 )
351 TST[T].CMD='$cat <(print foo)'