mirror of
https://github.com/sheumann/hush.git
synced 2024-08-15 02:29:00 +00:00
12 lines
193 B
Plaintext
12 lines
193 B
Plaintext
|
# 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: $?
|