aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script/parser+command-re-parse.test.testscript
blob: 3dbdc16bd4286913d6c8ee4faaf43cfccb92cbb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# file      : libbuild2/build/script/parser+command-re-parse.test.testscript
# license   : MIT; see accompanying LICENSE file

: double-quote
:
$* <<EOI >>EOO
x = [cmdline] cmd \">-\" "'<-'"
$x
EOI
cmd '>-' '<-'
EOO

: literal-re-parse
:
$* <<EOI >>EOO
cmd >foo
EOI
cmd >foo
EOO