source: MondoRescue/branches/2.2.9/mindi-busybox/shell/ash_test/ash-vars/var_bash3.tests@ 2725

Last change on this file since 2725 was 2725, checked in by Bruno Cornec, 13 years ago
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
  • Property svn:executable set to *
File size: 525 bytes
Line 
1a='abc'
2r=${a//b/\041#}
3echo 1 $r
4echo 2 ${a//b/\041#}
5echo 3 "${a//b/\041#}"
6
7a='abc'
8r=${a//b/\\041#}
9echo 4 $r
10echo 5 ${a//b/\\041#}
11echo 6 "${a//b/\\041#}"
12
13a='abc'
14b='\041#'
15r=${a//b/$b}
16echo 7 $r
17echo 8 ${a//b/$b}
18echo 9 "${a//b/$b}"
19
20a='abc'
21b='\'
22r="${a//b/$b}"
23echo 10 $r
24echo 11 ${a//b/$b}
25echo 12 "${a//b/$b}"
26
27a='abc'
28b='\\'
29r="${a//b/$b}"
30echo 13 $r
31echo 14 ${a//b/$b}
32echo 15 "${a//b/$b}"
33
34a='abc'
35b='\t'
36r="${a//b/$b}"
37echo 16 $r
38echo 17 ${a//b/$b}
39echo 18 "${a//b/$b}"
40echo 19 ${a//b/\t}
41echo 20 "${a//b/\t}"
Note: See TracBrowser for help on using the repository browser.