summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-vars/var_bash5.tests
blob: 7f482a55416eb01655d399b29ba0daa165ac8e3c (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

v='a/b/c'
s='b/c'
r='e/f'
echo "${v/$s}"
echo "${v/$s/d}"
echo "${v/$s/$r}"

echo Done: $?