source:
MondoRescue/branches/2.2.9/mindi-busybox/shell/ash_test/ash-vars/var_bash5.tests@
3865
Last change on this file since 3865 was 3320, checked in by , 10 years ago | |
---|---|
|
|
File size: 183 bytes |
Line | |
---|---|
1 | # This testcase checks whether slashes in ${v/a/b} are parsed before |
2 | # or after expansions |
3 | |
4 | v='a/b/c' |
5 | s='b/c' |
6 | r='e/f' |
7 | echo "${v/$s}" |
8 | echo "${v/$s/d}" |
9 | echo "${v/$s/$r}" |
10 | |
11 | echo Done: $? |
Note:
See TracBrowser
for help on using the repository browser.