From 5f05756e657d85026026d95d4ada0b6677861900 Mon Sep 17 00:00:00 2001 From: maxfl Date: Sun, 8 Jul 2012 09:19:11 +0800 Subject: Add variable expand ranges echo $PATH[-1..1] #now works Add tests for ranges --- tests/test8.out | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/test8.out (limited to 'tests/test8.out') diff --git a/tests/test8.out b/tests/test8.out new file mode 100644 index 00000000..e118e572 --- /dev/null +++ b/tests/test8.out @@ -0,0 +1,9 @@ +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 +10 9 8 7 6 5 4 3 2 1 +10 7 8 9 6 5 2 3 4 1 +5 4 3 2 1 +3 4 5 9 8 7 6 5 4 3 2 -- cgit v1.2.3