projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hush: make getch/peek functions directly called
[oweals/busybox.git]
/
shell
/
hush_test
/
hush-vars
/
param_expand_bash_substring.right
diff --git
a/shell/hush_test/hush-vars/param_expand_bash_substring.right
b/shell/hush_test/hush-vars/param_expand_bash_substring.right
index 53b8836ff8a40282a46f0877e89ca1a921c3afe3..2f4c51d06217b7de0437fa583a6ced69ad63f4e9 100644
(file)
--- a/
shell/hush_test/hush-vars/param_expand_bash_substring.right
+++ b/
shell/hush_test/hush-vars/param_expand_bash_substring.right
@@
-39,6
+39,19
@@
f:1:2=|12|
f::2 =|01|
f:1: =||
f:: =||
+Substrings from special vars
+? =|0|
+?:1 =||
+?:1:2=||
+?::2 =|0|
+?:1: =||
+?:: =||
+# =|11|
+#:1 =|1|
+#:1:2=|1|
+#::2 =|11|
+#:1: =||
+#:: =||
Substrings with expressions
f =|01234567|
f:1+1:2+2 =|2345|