head,tail: use common suffix struct. simplify help text.
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 25 Feb 2013 00:24:32 +0000 (01:24 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 25 Feb 2013 00:24:32 +0000 (01:24 +0100)
commitaf0255f49681bcc78830a56af885e891eca210f4
tree89fa748e057d2543c69205300f7614a4ef326fdf
parent8e6a1ea8250137d1dd9b0a37b7a1d6d596a91099
head,tail: use common suffix struct. simplify help text.

function                                             old     new   delta
head_tail_suffixes                                     -      32     +32
head_main                                            415     406      -9
packed_usage                                       29252   29234     -18
tail_suffixes                                         32       -     -32
head_suffixes                                         32       -     -32
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 0/2 up/down: 32/-91)            Total: -59 bytes
   text    data     bss     dec     hex filename
 890474     497    7584  898555   db5fb busybox_old
 890415     497    7584  898496   db5c0 busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/Kbuild.src
coreutils/head.c
coreutils/head_tail.c [new file with mode: 0644]
coreutils/head_tail.h [new file with mode: 0644]
coreutils/tail.c