2012-07-08 09:39:39 +08:00
|
|
|
Test variable expand
|
2012-07-08 09:19:11 +08:00
|
|
|
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
|
2012-07-08 09:39:39 +08:00
|
|
|
Test variable set
|
|
|
|
10 9 8 7 6 5 4 3 2 1
|
|
|
|
1 2 3 4 5 6 7 8 9 10
|
2012-07-08 09:19:11 +08:00
|
|
|
10 9 8 7 6 5 4 3 2 1
|
|
|
|
10 7 8 9 6 5 2 3 4 1
|
2017-07-27 11:17:04 +08:00
|
|
|
Test using slices of command substitution
|
2012-07-08 09:19:11 +08:00
|
|
|
5 4 3 2 1
|
|
|
|
3 4 5 9 8 7 6 5 4 3 2
|
2012-07-08 09:45:34 +08:00
|
|
|
Test more
|
|
|
|
10 9 8 7 6 5 4 3 2 1
|
|
|
|
1 2 3 4 5 6 7 8 9 10
|
2014-02-08 09:56:40 +08:00
|
|
|
Verify that if statements swallow failure
|
|
|
|
0
|
2015-12-12 03:44:54 +08:00
|
|
|
success1
|
|
|
|
success2
|
|
|
|
success3
|
|
|
|
success4
|