aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test8.out
diff options
context:
space:
mode:
authorGravatar maxfl <gmaxfl@gmail.com>2012-07-08 09:39:39 +0800
committerGravatar maxfl <gmaxfl@gmail.com>2012-07-08 09:39:39 +0800
commite1b8c425da571b7f002103805520a1d496ebb087 (patch)
treef4a9790adc9ba61f3485e0013b6f958f80a14695 /tests/test8.out
parent5f05756e657d85026026d95d4ada0b6677861900 (diff)
Fix case when second limit is a variable:
echo $PATH[1..$n]
Diffstat (limited to 'tests/test8.out')
-rw-r--r--tests/test8.out5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test8.out b/tests/test8.out
index e118e572..82bf4094 100644
--- a/tests/test8.out
+++ b/tests/test8.out
@@ -1,9 +1,14 @@
+Test variable expand
1 2 3 4 5 6 7 8 9 10
10 9 8 7 6 5 4 3 2 1
2 3 4 5 8 7 6
10 9
10 9 8 7 6 5 4 3 2 1
+Test variable set
+10 9 8 7 6 5 4 3 2 1
+1 2 3 4 5 6 7 8 9 10
10 9 8 7 6 5 4 3 2 1
10 7 8 9 6 5 2 3 4 1
+Test command substitution
5 4 3 2 1
3 4 5 9 8 7 6 5 4 3 2