ash: optional bash-like pattern subst and substring opts
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 25 Mar 2008 01:17:40 +0000 (01:17 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 25 Mar 2008 01:17:40 +0000 (01:17 -0000)
commit92e13c2a11381eec06a382de6917369ded240804
treeac3d3ce111212fb83a731dc64e653fae4ec9dc03
parent59f351ccda4c66785b864086bf23868768ca6f61
ash: optional bash-like pattern subst and substring opts
(by James Simmons <jsimmons AT infradead.org>)
TODO: write testsuite!

BASH_COMPAT off:
scanleft                                             101     262    +161
subevalvar                                           346     335     -11
BASH_COMPAT on:
subevalvar                                           346    1397   +1051
scanleft                                             101     262    +161
readtoken1                                          2739    2807     +68
cmdputs                                              397     399      +2
static.vstype                                         64      48     -16
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/1 up/down: 1282/-16)         Total: 1266 bytes
shell/Config.in
shell/ash.c