blob: 7f482a55416eb01655d399b29ba0daa165ac8e3c [file] [log] [blame]
Denys Vlasenkoe298ce62010-09-04 19:52:44 +02001# This testcase checks whether slashes in ${v/a/b} are parsed before
2# or after expansions
Denys Vlasenkof7a84332010-08-30 13:54:12 +02003
4v='a/b/c'
5s='b/c'
6r='e/f'
7echo "${v/$s}"
8echo "${v/$s/d}"
9echo "${v/$s/$r}"
10
11echo Done: $?