diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
commit | 67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch) | |
tree | a4a1db7f54c16d12fabe2626b8f1e235cd694e9e /coreutils/split.c | |
parent | 811c449748d5bd0505f8510e5582892f94ac0cda (diff) | |
parent | b83c9704128dd106071184e4b00335a3b8486857 (diff) | |
download | busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2 busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip |
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'coreutils/split.c')
-rw-r--r-- | coreutils/split.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/coreutils/split.c b/coreutils/split.c index 79316ed74..f0077077e 100644 --- a/coreutils/split.c +++ b/coreutils/split.c | |||
@@ -9,6 +9,19 @@ | |||
9 | * SUSv3 requirements: | 9 | * SUSv3 requirements: |
10 | * http://www.opengroup.org/onlinepubs/009695399/utilities/split.html | 10 | * http://www.opengroup.org/onlinepubs/009695399/utilities/split.html |
11 | */ | 11 | */ |
12 | |||
13 | //usage:#define split_trivial_usage | ||
14 | //usage: "[OPTIONS] [INPUT [PREFIX]]" | ||
15 | //usage:#define split_full_usage "\n\n" | ||
16 | //usage: "Options:" | ||
17 | //usage: "\n -b N[k|m] Split by N (kilo|mega)bytes" | ||
18 | //usage: "\n -l N Split by N lines" | ||
19 | //usage: "\n -a N Use N letters as suffix" | ||
20 | //usage: | ||
21 | //usage:#define split_example_usage | ||
22 | //usage: "$ split TODO foo\n" | ||
23 | //usage: "$ cat TODO | split -a 2 -l 2 TODO_\n" | ||
24 | |||
12 | #include "libbb.h" | 25 | #include "libbb.h" |
13 | 26 | ||
14 | static const struct suffix_mult split_suffices[] = { | 27 | static const struct suffix_mult split_suffices[] = { |