diff options
Diffstat (limited to 'coreutils/head.c')
-rw-r--r-- | coreutils/head.c | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/coreutils/head.c b/coreutils/head.c index 9388b026a..176e91e3a 100644 --- a/coreutils/head.c +++ b/coreutils/head.c | |||
@@ -6,13 +6,28 @@ | |||
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | //config:config HEAD | ||
10 | //config: bool "head" | ||
11 | //config: default y | ||
12 | //config: help | ||
13 | //config: head is used to print the first specified number of lines | ||
14 | //config: from files. | ||
15 | //config: | ||
16 | //config:config FEATURE_FANCY_HEAD | ||
17 | //config: bool "Enable head options (-c, -q, and -v)" | ||
18 | //config: default y | ||
19 | //config: depends on HEAD | ||
20 | //config: help | ||
21 | //config: This enables the head options (-c, -q, and -v). | ||
22 | |||
23 | //applet:IF_HEAD(APPLET_NOEXEC(head, head, BB_DIR_USR_BIN, BB_SUID_DROP, head)) | ||
24 | |||
25 | //kbuild:lib-$(CONFIG_HEAD) += head.o | ||
9 | 26 | ||
10 | /* BB_AUDIT SUSv3 compliant */ | 27 | /* BB_AUDIT SUSv3 compliant */ |
11 | /* BB_AUDIT GNU compatible -c, -q, and -v options in 'fancy' configuration. */ | 28 | /* BB_AUDIT GNU compatible -c, -q, and -v options in 'fancy' configuration. */ |
12 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/head.html */ | 29 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/head.html */ |
13 | 30 | ||
14 | //kbuild:lib-$(CONFIG_HEAD) += head.o | ||
15 | |||
16 | //usage:#define head_trivial_usage | 31 | //usage:#define head_trivial_usage |
17 | //usage: "[OPTIONS] [FILE]..." | 32 | //usage: "[OPTIONS] [FILE]..." |
18 | //usage:#define head_full_usage "\n\n" | 33 | //usage:#define head_full_usage "\n\n" |