summaryrefslogtreecommitdiffstats
path: root/tests/dollar-star6.sub
blob: dbd59ecfc79c9a4361db15e9769aad3a434286ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
recho "A${*:-w}R"
recho "A${*-w}R"
recho "A${*}R"

set -- ""

recho "A${*:-w}R"
recho "A${*-w}R"
recho "A${*}R"

set -- $'\177'

recho "A${*:+w}R"
recho "A${*+w}R"
recho "A${*}R"

recho A${*:+w}R
recho A${*+w}R
recho A${*}R