Denys Vlasenko | 5dad7bd | 2017-07-06 19:48:20 +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 |