Denys Vlasenko | 4f87049 | 2010-09-10 11:06:01 +0200 | [diff] [blame] | 1 | # This testcase checks globbing correctness in ${v/a/b} |
2 | |||||
3 | >a1z; >a2z; | ||||
4 | echo 'Expected' 'Actual' | ||||
5 | v='a bz'; echo 'a*z :' "${v/a*z/a*z}" | ||||
6 | v='a bz'; echo '\z :' "${v/a*z/\z}" | ||||
7 | v='a bz'; echo 'a1z a2z:' ${v/a*z/a*z} | ||||
8 | v='a bz'; echo 'z :' ${v/a*z/\z} | ||||
9 | rm a1z a2z |