summaryrefslogtreecommitdiff
path: root/tests/dollar-at3.sub
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-08 20:06:34 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-08 20:06:34 -0500
commit1231ac4798fd77b9ac9a07c8cad7b1ee720781d3 (patch)
tree8d576806b26d39cfa9fabafe5cb928715d184558 /tests/dollar-at3.sub
parent602bb73910bd6d18e26cd9cf5154ad28b765188c (diff)
downloadbash-1231ac4798fd77b9ac9a07c8cad7b1ee720781d3.tar.gz
commit bash-20090312 snapshot
Diffstat (limited to 'tests/dollar-at3.sub')
-rw-r--r--tests/dollar-at3.sub7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/dollar-at3.sub b/tests/dollar-at3.sub
new file mode 100644
index 00000000..c0cfac80
--- /dev/null
+++ b/tests/dollar-at3.sub
@@ -0,0 +1,7 @@
+set -u
+
+echo ${#@}
+echo ${@:-bar}
+
+echo $@
+echo after