Lines Matching refs:foobar
39 function foobar
60 if [[ $(foobar 1) != '33 bye' ]]
64 if [[ $(foobar 2) != 'foobar' ]]
68 if [[ $(bar=foo foobar 1) != '33 foo' ]]
75 if [[ $(foobar 3) != 'foo 10' ]]
79 foobar 4
83 unset -f foobar || err_exit "cannot unset function foobar"
84 typeset -f foobar>/dev/null && err_exit "typeset -f has incorrect exit status"
86 function foobar
92 foobar
169 foobar()
174 foobar
212 unset -f foobar
213 cat > $tmp/foobar <<!
214 function foobar
219 chmod +x $tmp/foobar
221 autoload foobar
222 if [[ $(foobar 2>/dev/null) != foo ]]
225 unset -f foobar
226 function foobar
231 ( foobar ) 2> /dev/null || err_exit "cannot unset readonly variable in function"
417 print ': This does nothing' > foobar
418 chmod +x foobar
419 unset -f foobar
420 { foobar; } 2>/dev/null
438 function foobar
442 typeset -f foobar
445 [[ $(foobar) != ok ]] && err_exit 'typeset -f not generating function'
1034 function foobar
1039 ${SHCOMP:-${SHELL%/*}/shcomp} $tmp/functions > $tmp/foobar
1041 chmod +x $tmp/foobar
1042 rm $tmp/!(dir|foobar)
1045 foobar
1049 unset -f foo foobar bar
1056 print foobar