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}" | ||||
Denys Vlasenko | 216913c | 2018-04-02 12:35:04 +0200 | [diff] [blame^] | 6 | v='a bz'; echo 'z :' "${v/a*z/\z}" |
Denys Vlasenko | 5dad7bd | 2017-07-06 19:48:20 +0200 | [diff] [blame] | 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 |