hush/coreutils
Denys Vlasenko 28055028a7 fold: unicode support. Based on a patch by Tomas Heinrich <heinrich.tomas@gmail.com>
General Unicode support is tweaked to expose unicode_status.

function                                             old     new   delta
init_unicode                                           -      77     +77
write2stdout                                           -      19     +19
adjust_column                                         68      71      +3
unicode_status                                         -       1      +1
unicode_is_enabled                                     1       -      -1
grep_main                                            780     773      -7
fold_main                                            619     552     -67
check_unicode_in_env                                  77       -     -77
------------------------------------------------------------------------------
(add/remove: 3/2 grow/shrink: 1/2 up/down: 100/-152)          Total: -52 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-04 20:49:58 +01:00
..
libcoreutils *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
basename.c
cal.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
cat.c
catv.c
chgrp.c
chmod.c
chown.c
chroot.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00
cksum.c split: handle - as "use stdin". +13 bytes. Closes bug 741. 2009-11-26 05:43:16 +01:00
comm.c
Config.in dd: speed measurement. optional. 2009-10-14 00:29:28 +02:00
cp.c cp: revert a recent buggy change, and add a comment why it's wrong 2009-10-08 01:32:44 +02:00
cut.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
date.c date: restore hadling of MMDDhhmm[[CC]YY][.ss] date format 2009-11-15 04:55:40 +01:00
dd.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
df.c fold: unicode support. Based on a patch by Tomas Heinrich <heinrich.tomas@gmail.com> 2010-01-04 20:49:58 +01:00
dirname.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00
dos2unix.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00
du.c libbb/human_readable.c: shrink; and reduce bss usage 2009-10-13 01:25:09 +02:00
echo.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
env.c env: don't SEGV on bare "env -" 2009-11-12 14:52:47 +01:00
expand.c fold: unicode support. Based on a patch by Tomas Heinrich <heinrich.tomas@gmail.com> 2010-01-04 20:49:58 +01:00
expr.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
false.c
fold.c fold: unicode support. Based on a patch by Tomas Heinrich <heinrich.tomas@gmail.com> 2010-01-04 20:49:58 +01:00
fsync.c fsync: new applet by Pekka Pessi (Pekka.Pessi AT nokia.com) 2009-06-18 08:20:02 +02:00
head.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
hostid.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
id_test.sh
id.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
install.c install: compat fix for mode of created files. 2009-06-15 18:13:51 +02:00
Kbuild fsync: new applet by Pekka Pessi (Pekka.Pessi AT nokia.com) 2009-06-18 08:20:02 +02:00
length.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
ln.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00
logname.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
ls.c fold: unicode support. Based on a patch by Tomas Heinrich <heinrich.tomas@gmail.com> 2010-01-04 20:49:58 +01:00
md5_sha1_sum.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
mkdir.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00
mkfifo.c
mknod.c
mv.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
nice.c
nohup.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
od_bloaty.c od: fix -tx without length spec 2009-11-22 15:37:16 +01:00
od.c *: optimize most of isXXXXX() macros 2009-10-23 03:16:08 +02:00
printenv.c
printf.c printf: (allegedly) fix testsuite failure 2009-06-27 00:07:23 +02:00
pwd.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
readlink.c
realpath.c
rm.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
rmdir.c
seq.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
sleep.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
sort.c sort: make sort -o FILE FILE (same FILE) work. Closes bug 785. -3 bytes 2009-12-13 02:09:22 +01:00
split.c split: handle - as "use stdin". +13 bytes. Closes bug 741. 2009-11-26 05:43:16 +01:00
stat.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00
stty.c stty: code shrink -44 bytes 2009-12-11 15:00:17 +01:00
sum.c fix up potential printf's with unsafe format strings 2009-10-24 17:47:56 +02:00
sync.c *: make 2 more "int argc"'s unused; more saved if !DESKTOP 2010-01-04 13:16:08 +01:00
tac.c
tail.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
tee.c
test_ptr_hack.c
test.c test: use index_in_strings 2009-09-12 22:41:57 +02:00
touch.c touch: needs another fix after last utimes() fixes 2009-11-30 11:36:14 +01:00
tr.c libbb: robustify isXXXX(). +39 bytes 2009-11-18 11:34:43 +01:00
true.c
tty.c *: make 2 more "int argc"'s unused; more saved if !DESKTOP 2010-01-04 13:16:08 +01:00
uname.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
uniq.c uniq: shave off whole 10 bytes off, oh my 2009-08-31 05:15:21 +02:00
usleep.c
uudecode.c
uuencode.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
wc.c fix fallout from isprint() changes 2009-11-20 19:14:19 +01:00
who.c
whoami.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
yes.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00