diff options
| author | Glenn L McGrath <bug1@ihug.co.nz> | 2004-01-27 09:22:20 +0000 |
|---|---|---|
| committer | Glenn L McGrath <bug1@ihug.co.nz> | 2004-01-27 09:22:20 +0000 |
| commit | 82364bb59100c690a5cdee308da990577b91fe5a (patch) | |
| tree | acfa8a340753648fd0a1d3b40c26bc074b8186c1 /include | |
| parent | 43112b4b65d60803a1511538a24930574be2f994 (diff) | |
| download | busybox-w32-82364bb59100c690a5cdee308da990577b91fe5a.tar.gz busybox-w32-82364bb59100c690a5cdee308da990577b91fe5a.tar.bz2 busybox-w32-82364bb59100c690a5cdee308da990577b91fe5a.zip | |
New applet, seq. No options, just the basics.
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 4 | ||||
| -rw-r--r-- | include/usage.h | 10 |
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 \ |
