source: MondoRescue/branches/2.2.9/mindi-busybox/shell/hush_test/hush-vars/var_bash4.right@ 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
File size: 1.1 KB
Line 
1Source: a*b\*c
2Replace str: _\\_\z_
3Pattern: single backslash and star: "replace literal star"
4Unquoted: a_\_z_b\*c
5Unquoted =: a_\_z_b\*c
6Quoted: a_\_\z_b\*c
7Quoted =: a_\_\z_b\*c
8Pattern: double backslash and star: "replace backslash and everything after it"
9Unquoted: a*b_\_z_
10Unquoted =: a*b_\_z_
11Quoted: a*b_\_\z_
12Quoted =: a*b_\_\z_
13
14Source: a\bc
15Replace str: _\\_\z_
16Pattern: single backslash and b: "replace b"
17Unquoted: a\_\_z_c
18Unquoted =: a\_\_z_c
19Quoted: a\_\_\z_c
20Quoted =: a\_\_\z_c
21Pattern: double backslash and b: "replace backslash and b"
22Unquoted: a_\_z_c
23Unquoted =: a_\_z_c
24Quoted: a_\_\z_c
25Quoted =: a_\_\z_c
26
27Source: a\bc
28Replace str: _\\_\z_ (as variable $s)
29Pattern: single backslash and b: "replace b"
30Unquoted: a\_\\_\z_c
31Unquoted =: a\_\\_\z_c
32Quoted: a\_\\_\z_c
33Quoted =: a\_\\_\z_c
34Pattern: double backslash and b: "replace backslash and b"
35Unquoted: a_\\_\z_c
36Unquoted =: a_\\_\z_c
37Quoted: a_\\_\z_c
38Quoted =: a_\\_\z_c
39
40Done: 0
Note: See TracBrowser for help on using the repository browser.