Denys Vlasenko | 42ba757 | 2017-07-21 13:20:14 +0200 | [diff] [blame] | 1 | set -x |
2 | |||||
3 | var1=val | ||||
4 | var2='one two' | ||||
5 | true %s\\n one "two 'three" four | ||||
6 | |||||
7 | # assignment: | ||||
8 | this=command | ||||
9 | # NOT assignment, +x code should show it quoted: | ||||
10 | "this=command" | ||||
11 | |||||
12 | if true; then true; fi | ||||
13 | # +x code should quote 'if' here: | ||||
14 | "if" true |