data/method/busybox/busybox-1.36.0/shell/ash_test/ash-quoting/mode_x.tests

15 lines
225 B
Plaintext
Executable File

set -x
var1=val
var2='one two'
true %s\\n one "two 'three" four
# assignment:
this=command
# NOT assignment, +x code should show it quoted:
"this=command"
if true; then true; fi
# +x code should quote 'if' here:
"if" true