aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-quoting/mode_x.tests
blob: 16dae3f4b7d8968f84ae14a9684a3fa094e1b083 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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