2014-08-21 04:19:08 +00:00
|
|
|
1
|
|
|
|
0
|
|
|
|
1 prefix
|
|
|
|
0
|
|
|
|
1
|
|
|
|
0
|
|
|
|
1 prefix
|
|
|
|
0
|
|
|
|
1
|
|
|
|
1
|
|
|
|
1 prefix
|
|
|
|
1 prefix
|
|
|
|
1
|
|
|
|
0
|
|
|
|
1 prefix
|
|
|
|
0
|
|
|
|
1
|
|
|
|
0
|
|
|
|
1 prefix
|
|
|
|
0
|
|
|
|
1 baz
|
|
|
|
1 baz
|
|
|
|
1 prefixbaz
|
|
|
|
1 prefixbaz
|
|
|
|
1 baz quux
|
|
|
|
2 baz quux
|
|
|
|
1 prefixbaz quux
|
|
|
|
2 prefixbaz prefixquux
|
|
|
|
1 baz quux fooer fooest
|
|
|
|
2 baz quux
|
|
|
|
1 prefixbaz quux fooer fooest
|
|
|
|
2 prefixbaz prefixquux
|
|
|
|
3 baz quux
|
|
|
|
3 prefixbaz prefixquux prefix
|
2018-11-23 01:52:07 +00:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Slices
|
2014-08-21 04:19:08 +00:00
|
|
|
1 baz quux fooest
|
|
|
|
2 baz quux
|
|
|
|
1 prefixbaz quux fooest
|
|
|
|
2 prefixbaz prefixquux
|
2018-04-26 20:42:48 +00:00
|
|
|
0
|
2017-04-07 19:48:44 +00:00
|
|
|
2 fooest
|
|
|
|
0
|
2018-04-26 20:42:48 +00:00
|
|
|
0
|
2017-04-07 19:48:44 +00:00
|
|
|
2 fooest
|
|
|
|
0
|
2018-09-15 09:03:45 +00:00
|
|
|
0
|
|
|
|
# foo =
|
2017-04-07 19:48:44 +00:00
|
|
|
1
|
|
|
|
0
|
|
|
|
1
|
|
|
|
0
|
|
|
|
1
|
|
|
|
0
|
2014-08-21 05:01:24 +00:00
|
|
|
1
|
|
|
|
0
|
|
|
|
1
|
|
|
|
0
|
2018-09-15 09:03:45 +00:00
|
|
|
# foo = a b c
|
|
|
|
0
|
2017-06-16 12:17:17 +00:00
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
2018-09-15 09:03:45 +00:00
|
|
|
# foo = a
|
2018-04-26 20:42:48 +00:00
|
|
|
0
|
2017-04-07 19:48:44 +00:00
|
|
|
|
2018-11-23 01:52:07 +00:00
|
|
|
out2
|
|
|
|
out2 out1
|
2017-08-04 04:37:02 +00:00
|
|
|
|
2018-10-10 21:26:29 +00:00
|
|
|
####################
|
|
|
|
# Percent self
|
|
|
|
%selfNOT NOT%self %self %self %self
|
|
|
|
All digits: 0
|
|
|
|
|
2017-08-04 04:37:02 +00:00
|
|
|
####################
|
|
|
|
# Catch your breath
|
|
|
|
|
|
|
|
####################
|
|
|
|
# Test tilde expansion
|
2018-09-30 23:34:01 +00:00
|
|
|
|
|
|
|
####################
|
2018-10-07 03:22:35 +00:00
|
|
|
# Test path variables
|
|
|
|
TEST_DELIMITER: one two three one two three
|
|
|
|
TEST_DELIMITER_PATH: one two three one:two:three
|
|
|
|
Not a path: ONE:TWO:THREE 1
|
|
|
|
As a path: ONE:TWO:THREE 3
|
|
|
|
Appended path: ONE:TWO:THREE:FOUR 4
|
|
|
|
Back to normal variable: ONE TWO THREE FOUR 4
|
2019-04-12 04:59:23 +00:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Test fatal syntax errors
|