Sign in
coral
/
busybox
/
468c326d6a9035314add6d431301f3840629c976
/
.
/
shell
/
hush_test
/
hush-vars
/
var_unbackslash.tests
blob: 2377cd50bce2c92045f48b281c2fb5db26284900 [
file
] [
log
] [
blame
]
# Test for correct handling of backslashes
a
=
qwerty
b
=-
$a
-
\t
-
\\
-
\"
-
\-
-
\z
-
\*
-
\?
-
echo b1
=
$b
echo
"b1=$b"
b
=
'-$a-\t-\\-\"-\--\z-\*-\?-'
echo b2
=
$b
echo
"b2=$b"
c
=
$b
echo
"c=$c"
c
=
$
{
b
}
echo
"c=$c"
c
=
"$b"
echo
"c=$c"
c
=
"${b}"
echo
"c=$c"
echo
"Done: $?"