aboutsummaryrefslogtreecommitdiff
path: root/tests/expansion/escape.testscript
blob: 1140032d0bbd343aed00452af0c1d55fa15f281d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# file      : tests/expansion/type.testscript
# license   : MIT; see accompanying LICENSE file

# Test escape sequence expansion.

.include ../common.testscript

: simple
:
$* <<EOI >>EOO
print "foo$\nbar"
print $size([string] "foo$\0bar")
EOI
foo
bar
7
EOO