Lines Matching refs:foo

75 x=$((echo foo)|(cat))
76 if [[ $x != foo ]]
100 set -- ${x+foo bar bam}
102 then err_exit '${x+foo bar bam} does not yield three arguments'
104 set -- ${x+foo "bar bam"}
106 then err_exit '${x+foo "bar bam"} does not yield two arguments'
108 set -- ${x+foo 'bar bam'}
110 then err_exit '${x+foo '\''bar bam'\''} does not yield two arguments'
112 set -- ${x+foo $x bam}
114 then err_exit '${x+foo $x bam} does not yield three arguments'
116 set -- ${x+foo "$x" bam}
118 then err_exit '${x+foo "$x" bam} does not yield three arguments'
120 set -- ${x+"foo $x bam"}
122 then err_exit '${x+"foo $x bam"} does not yield one argument'
124 set -- "${x+foo $x bam}"
126 then err_exit '"${x+foo $x bam}" does not yield one argument'
128 set -- ${x+foo "$x "bam}
130 then err_exit '${x+foo "$x "bam} does not yield two arguments'
164 foo=foo x=-
165 if [[ `eval print \\${foo$x}` != foo* ]]
166 then err_exit '`eval print \\${foo$x}`' not working
168 if [[ "`eval print \\${foo$x}`" != foo* ]]
169 then err_exit '"`eval print \\${foo$x}`"' not working
196 foo=foo
198 [[ "${foo}$" == 'foo$' ]] || err_exit 'foo=foo;"${foo}$" != foo$'
199 [[ "${foo}${foo}$" == 'foofoo$' ]] || err_exit 'foo=foo;"${foo}${foo}$" != foofoo$'
200 foo='$ '
201 [[ "$foo" == ~(Elr)(\\\$|#)\ ]] || err_exit $'\'$ \' not matching RE \\\\\\$|#\''
202 [[ "$foo" == ~(Elr)('\$'|#)\ ]] || err_exit $'\'$ \' not matching RE \'\\$\'|#\''
203 foo='# '
204 [[ "$foo" == ~(Elr)(\\\$|#)\ ]] || err_exit $'\'# \' not matching RE \\'\$|#\''
205 [[ "$foo" == ~(Elr)('\$'|#)\ ]] || err_exit $'\'# \' not matching RE \'\\$\'|#\''