ash: extend var_bash4.tests; nocode changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
b0fbe4b540
commit
6814cbc928
@ -1,2 +1,4 @@
|
||||
a*b-backslashstar-
|
||||
In assignment: a*b-backslashstar-
|
||||
Unquoted: a*b-backslashstar-
|
||||
Quoted: a*b-backslashstar-
|
||||
Done: 0
|
||||
|
@ -1,3 +1,6 @@
|
||||
FOO='a*b\*c'
|
||||
echo "${FOO//\\*/-backslashstar-}"
|
||||
BAR=${FOO//\\*/-backslashstar-}
|
||||
echo In assignment: "$BAR"
|
||||
echo Unquoted: ${FOO//\\*/-backslashstar-}
|
||||
echo Quoted: "${FOO//\\*/-backslashstar-}"
|
||||
echo Done: $?
|
||||
|
Loading…
Reference in New Issue
Block a user