aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-01-06 06:27:17 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-01-06 06:27:17 +0000
commitbcd5fc12ec4d31f7633460cb66c2e8a5436ace18 (patch)
tree6664a87764ecf647c41520078d1328dca2dc7e75 /include
parent56ea65ca5f30778f05c8882b04e3a94c869bbca4 (diff)
downloadbusybox-bcd5fc12ec4d31f7633460cb66c2e8a5436ace18.tar.gz
tac: new applet. ~240 bytes.
Copyright (C) 2003 Yang Xiaopeng <yxp at hanwang.com.cn> Copyright (C) 2007 Natanael Copa <natanael.copa@gmail.com> Copyright (C) 2007 Tito Ragusa <farmatito@tiscali.it>
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index c6331cb05..4934d18cd 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -334,6 +334,7 @@ USE_SWITCH_ROOT(APPLET(switch_root, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_SYNC(APPLET_NOFORK(sync, sync, _BB_DIR_BIN, _BB_SUID_NEVER, sync))
USE_BB_SYSCTL(APPLET(sysctl, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_SYSLOGD(APPLET(syslogd, _BB_DIR_SBIN, _BB_SUID_NEVER))
+USE_TAC(APPLET_NOEXEC(tac, tac, _BB_DIR_USR_BIN, _BB_SUID_NEVER, tac))
USE_TAIL(APPLET(tail, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_TAR(APPLET(tar, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_TASKSET(APPLET(taskset, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
diff --git a/include/usage.h b/include/usage.h
index 12d2cefd9..464fb614b 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3542,6 +3542,11 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
"$ syslogd -R masterlog:514\n" \
"$ syslogd -R 192.168.1.1:601\n"
+#define tac_trivial_usage \
+ "[FILE]..."
+#define tac_full_usage \
+ "Concatenates FILE(s) and prints them to stdout in reverse"
+
#define tail_trivial_usage \
"[OPTION]... [FILE]..."
#define tail_full_usage \