diff options
Diffstat (limited to '')
-rw-r--r-- | tests/dollar-star6.sub | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/dollar-star6.sub b/tests/dollar-star6.sub new file mode 100644 index 0000000..dbd59ec --- /dev/null +++ b/tests/dollar-star6.sub @@ -0,0 +1,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 |