blob: 3f49321e1f086f8098410138f66a178c9864b2cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# This testcase checks whether slashes in ${v/a/b} are parsed before or after expansions
# in a part
v='a/b/c'
s='b/c'
r='e/f'
echo "${v/$s}"
echo "${v/$s/d}"
echo "${v/$s/$r}"
echo Done: $?
|