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:
Denys Vlasenko
2021-07-26 15:29:13 +02:00
parent 05c5d745f7
commit b278d82c61
7 changed files with 138 additions and 1 deletions

View File

@@ -0,0 +1 @@
B

View File

@@ -0,0 +1 @@
x=AB; echo "${x#$'\x41'}"