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

Bartosz Gołaszewski bartekgola at gmail.com
Tue Jul 9 18:48:02 UTC 2013


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 /tmp/busybox/busybox.old
function                                             old     new   delta
.rodata                                           140405  140177    -228
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-228)           Total: -228 bytes

Best regards,
Bartosz Gołaszewski


More information about the busybox mailing list