summaryrefslogtreecommitdiffstats
path: root/tests/dollar-at4.sub
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dollar-at4.sub')
-rw-r--r--tests/dollar-at4.sub10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/dollar-at4.sub b/tests/dollar-at4.sub
new file mode 100644
index 0000000..c8de866
--- /dev/null
+++ b/tests/dollar-at4.sub
@@ -0,0 +1,10 @@
+set 'a b' 'c d'
+
+recho "$@"
+recho $@
+
+quoted="$@"
+unquoted=$@
+
+recho "$quoted"
+recho "$unquoted"