hush: implement $'str' bashism
function old new delta parse_dollar_squote - 441 +441 encode_then_expand_vararg 359 380 +21 parse_stream 2252 2271 +19 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/0 up/down: 481/0) Total: 481 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
1
shell/hush_test/hush-vars/var_bash7.right
Normal file
1
shell/hush_test/hush-vars/var_bash7.right
Normal file
@@ -0,0 +1 @@
|
||||
B
|
1
shell/hush_test/hush-vars/var_bash7.tests
Executable file
1
shell/hush_test/hush-vars/var_bash7.tests
Executable file
@@ -0,0 +1 @@
|
||||
x=AB; echo "${x#$'\x41'}"
|
Reference in New Issue
Block a user