diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-06-02 04:01:10 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-06-02 04:01:10 +0200 |
commit | b9258b86a7985a45921696ede192c51cb9eb52be (patch) | |
tree | a989bf76655f569ad4c19ba11dd6e53a09c81613 | |
parent | 687f41f10bd5f493e82395e127f7d4d52b11d308 (diff) | |
download | busybox-w32-b9258b86a7985a45921696ede192c51cb9eb52be.tar.gz busybox-w32-b9258b86a7985a45921696ede192c51cb9eb52be.tar.bz2 busybox-w32-b9258b86a7985a45921696ede192c51cb9eb52be.zip |
head,tail: trim --help text
function old new delta
packed_usage 33598 33560 -38
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | coreutils/head.c | 13 | ||||
-rw-r--r-- | coreutils/tail.c | 17 |
2 files changed, 16 insertions, 14 deletions
diff --git a/coreutils/head.c b/coreutils/head.c index efb023c6f..9586f869f 100644 --- a/coreutils/head.c +++ b/coreutils/head.c | |||
@@ -29,17 +29,18 @@ | |||
29 | //usage:#define head_trivial_usage | 29 | //usage:#define head_trivial_usage |
30 | //usage: "[OPTIONS] [FILE]..." | 30 | //usage: "[OPTIONS] [FILE]..." |
31 | //usage:#define head_full_usage "\n\n" | 31 | //usage:#define head_full_usage "\n\n" |
32 | //usage: "Print first 10 lines of FILEs (or stdin) to stdout.\n" | 32 | //usage: "Print first 10 lines of FILEs (or stdin).\n" |
33 | //usage: "With more than one FILE, precede each with a filename header.\n" | 33 | //usage: "With more than one FILE, precede each with a filename header.\n" |
34 | //usage: "\n -n N[kbm] Print first N lines" | 34 | //usage: "\n -n N[bkm] Print first N lines" |
35 | //usage: IF_FEATURE_FANCY_HEAD( | ||
36 | //usage: "\n -n -N[bkm] Print all except N last lines" | ||
37 | //usage: "\n -c [-]N[bkm] Print first N bytes" | ||
38 | //usage: ) | ||
39 | //usage: "\n (b:*512 k:*1024 m:*1024^2)" | ||
35 | //usage: IF_FEATURE_FANCY_HEAD( | 40 | //usage: IF_FEATURE_FANCY_HEAD( |
36 | //usage: "\n -n -N[kbm] Print all except N last lines" | ||
37 | //usage: "\n -c [-]N[kbm] Print first N bytes" | ||
38 | //usage: "\n -q Never print headers" | 41 | //usage: "\n -q Never print headers" |
39 | //usage: "\n -v Always print headers" | 42 | //usage: "\n -v Always print headers" |
40 | //usage: ) | 43 | //usage: ) |
41 | //usage: "\n" | ||
42 | //usage: "\nN may be suffixed by k (x1024), b (x512), or m (x1024^2)." | ||
43 | //usage: | 44 | //usage: |
44 | //usage:#define head_example_usage | 45 | //usage:#define head_example_usage |
45 | //usage: "$ head -n 2 /etc/passwd\n" | 46 | //usage: "$ head -n 2 /etc/passwd\n" |
diff --git a/coreutils/tail.c b/coreutils/tail.c index 08fde6cdd..4602f4d42 100644 --- a/coreutils/tail.c +++ b/coreutils/tail.c | |||
@@ -48,19 +48,20 @@ | |||
48 | //usage:#define tail_trivial_usage | 48 | //usage:#define tail_trivial_usage |
49 | //usage: "[OPTIONS] [FILE]..." | 49 | //usage: "[OPTIONS] [FILE]..." |
50 | //usage:#define tail_full_usage "\n\n" | 50 | //usage:#define tail_full_usage "\n\n" |
51 | //usage: "Print last 10 lines of FILEs (or stdin) to stdout.\n" | 51 | //usage: "Print last 10 lines of FILEs (or stdin) to.\n" |
52 | //usage: "With more than one FILE, precede each with a filename header.\n" | 52 | //usage: "With more than one FILE, precede each with a filename header.\n" |
53 | //usage: "\n -f Print data as file grows" | 53 | //usage: "\n -c [+]N[bkm] Print last N bytes" |
54 | //usage: "\n -c [+]N[kbm] Print last N bytes" | 54 | //usage: "\n -n N[bkm] Print last N lines" |
55 | //usage: "\n -n N[kbm] Print last N lines" | 55 | //usage: "\n -n +N[bkm] Start on Nth line and print the rest" |
56 | //usage: "\n -n +N[kbm] Start on Nth line and print the rest" | 56 | //usage: "\n (b:*512 k:*1024 m:*1024^2)" |
57 | //usage: IF_FEATURE_FANCY_TAIL( | 57 | //usage: IF_FEATURE_FANCY_TAIL( |
58 | //usage: "\n -q Never print headers" | 58 | //usage: "\n -q Never print headers" |
59 | //usage: "\n -s SECONDS Wait SECONDS between reads with -f" | ||
60 | //usage: "\n -v Always print headers" | 59 | //usage: "\n -v Always print headers" |
60 | //usage: ) | ||
61 | //usage: "\n -f Print data as file grows" | ||
62 | //usage: IF_FEATURE_FANCY_TAIL( | ||
61 | //usage: "\n -F Same as -f, but keep retrying" | 63 | //usage: "\n -F Same as -f, but keep retrying" |
62 | //usage: "\n" | 64 | //usage: "\n -s SECONDS Wait SECONDS between reads with -f" |
63 | //usage: "\nN may be suffixed by k (x1024), b (x512), or m (x1024^2)." | ||
64 | //usage: ) | 65 | //usage: ) |
65 | //usage: | 66 | //usage: |
66 | //usage:#define tail_example_usage | 67 | //usage:#define tail_example_usage |