summaryrefslogtreecommitdiff
path: root/coreutils/cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/cat.c')
-rw-r--r--coreutils/cat.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/coreutils/cat.c b/coreutils/cat.c
index 0024eb8..dbb6246 100644
--- a/coreutils/cat.c
+++ b/coreutils/cat.c
@@ -10,6 +10,18 @@
/* BB_AUDIT SUSv3 compliant */
/* http://www.opengroup.org/onlinepubs/007904975/utilities/cat.html */
+//kbuild:lib-$(CONFIG_CAT) += cat.o
+//kbuild:lib-$(CONFIG_MORE) += cat.o # more uses it if stdout isn't a tty
+//kbuild:lib-$(CONFIG_LESS) += cat.o # less too
+//kbuild:lib-$(CONFIG_CRONTAB) += cat.o # crontab -l
+
+//config:config CAT
+//config: bool "cat"
+//config: default n
+//config: help
+//config: cat is used to concatenate files and print them to the standard
+//config: output. Enable this option if you wish to enable the 'cat' utility.
+
#include "libbb.h"
/* This is a NOFORK applet. Be very careful! */