shell/ash_test/ash-quoting/bkslash_in_varexp.right+5 -0
| @@ -0,0 +1,5 @@ |
| + | Nothing: |
| + | Nothing: |
| + | Nothing: |
| + | Nothing: |
| + | Ok:0 |
shell/ash_test/ash-quoting/bkslash_in_varexp.tests+6 -0
| @@ -0,0 +1,6 @@ |
| + | x=a |
| + | echo Nothing:${x#[a\]]} |
| + | echo Nothing:"${x#[a\]]}" |
| + | echo Nothing:${x%[a\]]} |
| + | echo Nothing:"${x%[a\]]}" |
| + | echo Ok:$? |
shell/ash_test/ash-quoting/squote_in_varexp.right+5 -0
| @@ -0,0 +1,5 @@ |
| + | z |
| + | z |
| + | y |
| + | y |
| + | Ok:0 |
shell/ash_test/ash-quoting/squote_in_varexp.tests+6 -0
| @@ -0,0 +1,6 @@ |
| + | x=yz |
| + | echo ${x#'y'} |
| + | echo "${x#'y'}" |
| + | echo ${x%'z'} |
| + | echo "${x%'z'}" |
| + | echo Ok:$? |
shell/hush_test/hush-quoting/bkslash_in_varexp.right+5 -0
| @@ -0,0 +1,5 @@ |
| + | Nothing: |
| + | Nothing: |
| + | Nothing: |
| + | Nothing: |
| + | Ok:0 |
shell/hush_test/hush-quoting/bkslash_in_varexp.tests+6 -0
| @@ -0,0 +1,6 @@ |
| + | x=a |
| + | echo Nothing:${x#[a\]]} |
| + | echo Nothing:"${x#[a\]]}" |
| + | echo Nothing:${x%[a\]]} |
| + | echo Nothing:"${x%[a\]]}" |
| + | echo Ok:$? |
shell/hush_test/hush-quoting/squote_in_varexp.right+5 -0
| @@ -0,0 +1,5 @@ |
| + | z |
| + | z |
| + | y |
| + | y |
| + | Ok:0 |
shell/hush_test/hush-quoting/squote_in_varexp.tests+6 -0
| @@ -0,0 +1,6 @@ |
| + | x=yz |
| + | echo ${x#'y'} |
| + | echo "${x#'y'}" |
| + | echo ${x%'z'} |
| + | echo "${x%'z'}" |
| + | echo Ok:$? |