blob: 56e05b55164fa7599a24f9d3815dea11f0671523 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# file : libbuild2/build/script/parser+command-re-parse.test.testscript
# license : MIT; see accompanying LICENSE file
# @@ TMP
#
#\
: double-quote
:
$* <<EOI >>EOO
x = [cmd_line] cmd \">-\" "'<-'"
$x
EOI
cmd '>-' '<-'
EOO
#\
: literal-re-parse
:
$* <<EOI >>EOO
cmd >foo
EOI
cmd >foo
EOO
|