Lines Matching refs:foo

75 x=$((echo foo)|(cat))
76 if [[ $x != foo ]]
101 set -- ${x+foo bar bam}
103 then err_exit '${x+foo bar bam} does not yield three arguments'
105 set -- ${x+foo "bar bam"}
107 then err_exit '${x+foo "bar bam"} does not yield two arguments'
109 set -- ${x+foo 'bar bam'}
111 then err_exit '${x+foo '\''bar bam'\''} does not yield two arguments'
113 set -- ${x+foo $x bam}
115 then err_exit '${x+foo $x bam} does not yield three arguments'
117 set -- ${x+foo "$x" bam}
119 then err_exit '${x+foo "$x" bam} does not yield three arguments'
121 set -- ${x+"foo $x bam"}
123 then err_exit '${x+"foo $x bam"} does not yield one argument'
125 set -- "${x+foo $x bam}"
127 then err_exit '"${x+foo $x bam}" does not yield one argument'
129 set -- ${x+foo "$x "bam}
131 then err_exit '${x+foo "$x "bam} does not yield two arguments'
165 foo=foo x=-
166 if [[ `eval print \\${foo$x}` != foo* ]]
167 then err_exit '`eval print \\${foo$x}`' not working
169 if [[ "`eval print \\${foo$x}`" != foo* ]]
170 then err_exit '"`eval print \\${foo$x}`"' not working
197 foo=foo
199 [[ "${foo}$" == 'foo$' ]] || err_exit 'foo=foo;"${foo}$" != foo$'
200 [[ "${foo}${foo}$" == 'foofoo$' ]] || err_exit 'foo=foo;"${foo}${foo}$" != foofoo$'
201 foo='$ '
202 [[ "$foo" == ~(Elr)(\\\$|#)\ ]] || err_exit $'\'$ \' not matching RE \\\\\\$|#\''
203 [[ "$foo" == ~(Elr)('\$'|#)\ ]] || err_exit $'\'$ \' not matching RE \'\\$\'|#\''
204 foo='# '
205 [[ "$foo" == ~(Elr)(\\\$|#)\ ]] || err_exit $'\'# \' not matching RE \\'\$|#\''
206 [[ "$foo" == ~(Elr)('\$'|#)\ ]] || err_exit $'\'# \' not matching RE \'\\$\'|#\''