[PATCH] Refactor catv. Move visible from stty to libbb.

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jul 26 16:30:11 UTC 2013


On 9 July 2013 20:58, Bartosz Gołaszewski <bartekgola at gmail.com> wrote:
> 2013/7/9 Bartosz Gołaszewski <bartekgola at gmail.com>:
>> 2013/7/9 Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>:
>>> On 9 July 2013 20:22, Bartosz Golaszewski <bartekgola at gmail.com> wrote:
>>>> Fixes the following TODO:
>>>>
>>>>   stty's visible() function and catv's guts are identical. Merge them into
>>>>   an appropriate libbb function.
>>>>
>>>> Also makes catv behave exactly like coreutils' cat -v e.g. it'll print 'M-^I'
>>>> instead of 'M-   '.
>>>
>>> Awesome. bloat-o-meter output, please?
>>> thanks,

> ./scripts/bloat-o-meter ./busybox.old ./busybox.new
> function                                             old     new   delta
> .rodata                                           140405  140177    -228
> ------------------------------------------------------------------------------
> (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-228)           Total: -228 bytes

LGTM.
Denys?


More information about the busybox mailing list