summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-vars/var_bash4.right (plain)
blob: 0ef1bf661c8e76b9e1f3c51ac8b999a134025808
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
41