summaryrefslogtreecommitdiff
path: root/test/asset/shell/echo.et
blob: 1e48cac95f8694eb507aca7eb264e4ca634f9c0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
test Echo:
    node n
    let echo_str = "echo"
    let space_str = "a   b"

    shell on n as sh:
        echo a b  c
        echo "a b  c"
        echo 'a b  d'
        echo a b   " c  d"

        /bin/echo "abcd"  xyz
        "echo" a"a" "b"c   d
        $echo_str b $echo_str c

        echo "$space_str"
        echo $space_str
        echo '$space_str'

        echo \$ \" \\
        echo "\""\""a"
        echo "'" '"' '\\\' "\\"
        echo a\ b\ \ c

        echo \" \' \\ \$ \# \| \> \< \; \[ \] \{ \} \( \) \* \? \~ \& \!