10 |
/* BB_AUDIT SUSv3 compliant */ |
/* BB_AUDIT SUSv3 compliant */ |
11 |
/* http://www.opengroup.org/onlinepubs/007904975/utilities/cat.html */ |
/* http://www.opengroup.org/onlinepubs/007904975/utilities/cat.html */ |
12 |
|
|
13 |
|
//kbuild:lib-$(CONFIG_CAT) += cat.o |
14 |
|
//kbuild:lib-$(CONFIG_MORE) += cat.o # more uses it if stdout isn't a tty |
15 |
|
//kbuild:lib-$(CONFIG_LESS) += cat.o # less too |
16 |
|
//kbuild:lib-$(CONFIG_CRONTAB) += cat.o # crontab -l |
17 |
|
|
18 |
|
//config:config CAT |
19 |
|
//config: bool "cat" |
20 |
|
//config: default y |
21 |
|
//config: help |
22 |
|
//config: cat is used to concatenate files and print them to the standard |
23 |
|
//config: output. Enable this option if you wish to enable the 'cat' utility. |
24 |
|
|
25 |
#include "libbb.h" |
#include "libbb.h" |
26 |
|
|
27 |
/* This is a NOFORK applet. Be very careful! */ |
/* This is a NOFORK applet. Be very careful! */ |