From bcd5fc12ec4d31f7633460cb66c2e8a5436ace18 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 6 Jan 2008 06:27:17 +0000 Subject: tac: new applet. ~240 bytes. Copyright (C) 2003 Yang Xiaopeng Copyright (C) 2007 Natanael Copa Copyright (C) 2007 Tito Ragusa --- include/applets.h | 1 + include/usage.h | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'include') 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 \ -- cgit v1.2.3