aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-01-27 09:22:20 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-01-27 09:22:20 +0000
commitfca35eb5add5fb3bbac61fd30ed151170f8fbedb (patch)
treeacfa8a340753648fd0a1d3b40c26bc074b8186c1 /include
parentcb0303c47eff56d7e0c3fc8c37c7eb8ba364d011 (diff)
downloadbusybox-w32-fca35eb5add5fb3bbac61fd30ed151170f8fbedb.tar.gz
busybox-w32-fca35eb5add5fb3bbac61fd30ed151170f8fbedb.tar.bz2
busybox-w32-fca35eb5add5fb3bbac61fd30ed151170f8fbedb.zip
New applet, seq. No options, just the basics.
git-svn-id: svn://busybox.net/trunk/busybox@8354 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/applets.h4
-rw-r--r--include/usage.h10
2 files changed, 13 insertions, 1 deletions
diff --git a/include/applets.h b/include/applets.h
index e348516ea..f3b5f3d1c 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -508,6 +508,9 @@
508#ifdef CONFIG_SED 508#ifdef CONFIG_SED
509 APPLET(sed, sed_main, _BB_DIR_BIN, _BB_SUID_NEVER) 509 APPLET(sed, sed_main, _BB_DIR_BIN, _BB_SUID_NEVER)
510#endif 510#endif
511#ifdef CONFIG_SEQ
512 APPLET(seq, seq_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
513#endif
511#ifdef CONFIG_SETKEYCODES 514#ifdef CONFIG_SETKEYCODES
512 APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 515 APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
513#endif 516#endif
@@ -682,4 +685,3 @@
682}; 685};
683 686
684#endif 687#endif
685
diff --git a/include/usage.h b/include/usage.h
index f4897e4c0..bc6655e38 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2094,6 +2094,16 @@
2094 "$ echo "foo" | sed -e 's/f[a-zA-Z]o/bar/g'\n" \ 2094 "$ echo "foo" | sed -e 's/f[a-zA-Z]o/bar/g'\n" \
2095 "bar\n" 2095 "bar\n"
2096 2096
2097#define seq_trivial_usage \
2098 "[first [increment]] last"
2099#define seq_full_usage \
2100 "Print numbers from FIRST to LAST, in steps of INCREMENT.\n" \
2101 "FIRST, INCREMENT default to 1\n" \
2102 "Arguments:\n" \
2103 "\tLAST\n" \
2104 "\tFIRST\tLAST\n" \
2105 "\tFIRST\tINCREMENT\tLAST\n"
2106
2097#define setkeycodes_trivial_usage \ 2107#define setkeycodes_trivial_usage \
2098 "SCANCODE KEYCODE ..." 2108 "SCANCODE KEYCODE ..."
2099#define setkeycodes_full_usage \ 2109#define setkeycodes_full_usage \