busybox/include
Bartosz Golaszewski 79c618c411 Refactor catv. Move visible() from stty to libbb.
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-   '.

function                                             old     new   delta
visible                                                -      70     +70
do_display                                           431     379     -52
catv_main                                            306     250     -56
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/2 up/down: 70/-108)           Total: -38 bytes

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2013-07-30 06:29:42 +02:00
..
.gitignore .gitignore: add missing ignores 2011-03-06 19:54:15 +01:00
applet_metadata.h applet_tables: do not include libbb.h, that header ir for target builds 2011-03-28 01:23:38 +02:00
applets.src.h buildsys: Add helper to list suid applets 2013-07-26 13:39:46 +02:00
ar.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
bb_archive.h rpm: use "create+rename" method of replacing existing files 2013-02-20 15:58:42 +01:00
bb_e2fs_defs.h mount: fix the wrongly stored fs creation time 2012-06-21 16:50:46 +02:00
busybox.h *: declare strings with ALIGN1, as appropriate 2012-07-24 15:56:37 +02:00
dump.h *: whitespace fixes 2010-10-28 18:57:19 +02:00
fix_u32.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
grp_.h whitespace fixes. no code changes 2013-01-15 13:58:01 +01:00
inet_common.h more thorough fix for systems with strange socklen_t 2010-02-02 12:45:38 +01:00
libbb.h Refactor catv. Move visible() from stty to libbb. 2013-07-30 06:29:42 +02:00
liblzo_interface.h *: move lzo compressor code to archival/libunarchive/. No code changes 2010-11-03 02:27:49 +01:00
platform.h md5/sha512: a better fix for strict aliasing warnings 2013-06-27 01:03:19 +02:00
pwd_.h whitespace fixes. no code changes 2013-01-15 13:58:01 +01:00
rtc_.h whitespace cleanup 2010-10-29 11:46:52 +02:00
shadow_.h whitespace fixes. no code changes 2013-01-15 13:58:01 +01:00
unicode.h ash,hush: recheck LANG before every line input 2011-03-23 17:59:27 +01:00
usage.src.h move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
volume_id.h blkid: if parameters are given, do not scan /dev 2012-03-03 15:09:07 +01:00
xatonum.h udhcp: finish support of classless static routes 2011-12-16 17:05:52 +01:00
xregex.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00