diff options
author | Denys Vlasenko | 2010-03-02 16:18:14 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-03-02 16:18:14 +0100 |
commit | 5749328b5634918888474222732572a3e0c97f70 (patch) | |
tree | 7690a296f44bc15c7215b0c3d805cedc7c70375b /coreutils | |
parent | 88aa558e5cf31d1b390d68fc40f55b47beac246e (diff) | |
download | busybox-5749328b5634918888474222732572a3e0c97f70.zip busybox-5749328b5634918888474222732572a3e0c97f70.tar.gz |
head,tail: trim help text; make suffixes unconditional for head too
function old new delta
packed_usage 26411 26375 -36
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/head.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/coreutils/head.c b/coreutils/head.c index 0fab8a8..75189ed 100644 --- a/coreutils/head.c +++ b/coreutils/head.c @@ -20,14 +20,12 @@ static const char head_opts[] ALIGN1 = #endif ; -#if ENABLE_FEATURE_FANCY_HEAD static const struct suffix_mult head_suffixes[] = { { "b", 512 }, { "k", 1024 }, { "m", 1024*1024 }, { "", 0 } }; -#endif static const char header_fmt_str[] ALIGN1 = "\n==> %s <==\n"; @@ -78,11 +76,7 @@ int head_main(int argc, char **argv) #if ENABLE_INCLUDE_SUSv2 || ENABLE_FEATURE_FANCY_HEAD GET_COUNT: #endif -#if !ENABLE_FEATURE_FANCY_HEAD - count = xatoul(p); -#else count = xatoul_sfx(p, head_suffixes); -#endif break; default: bb_show_usage(); |