diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-05-11 23:12:49 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-05-11 23:12:49 +0000 |
commit | b5f326ec78a42d0e6e7c306a9d6cbadefe9d5e08 (patch) | |
tree | e162cc6fca7b67b684492c758a43fb9463782a7d /include | |
parent | 8a568db60624ea2b6adac0ccd661bde6744901ec (diff) | |
download | busybox-w32-b5f326ec78a42d0e6e7c306a9d6cbadefe9d5e08.tar.gz busybox-w32-b5f326ec78a42d0e6e7c306a9d6cbadefe9d5e08.tar.bz2 busybox-w32-b5f326ec78a42d0e6e7c306a9d6cbadefe9d5e08.zip |
Small comm implementatin from Rob Sullivan. Needed to build perl.
git-svn-id: svn://busybox.net/trunk/busybox@10298 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index bc5b36ae3..4ef5ed77c 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -113,6 +113,9 @@ | |||
113 | #ifdef CONFIG_CMP | 113 | #ifdef CONFIG_CMP |
114 | APPLET(cmp, cmp_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 114 | APPLET(cmp, cmp_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
115 | #endif | 115 | #endif |
116 | #ifdef CONFIG_COMM | ||
117 | APPLET(comm, comm_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
118 | #endif | ||
116 | #ifdef CONFIG_CP | 119 | #ifdef CONFIG_CP |
117 | APPLET(cp, cp_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 120 | APPLET(cp, cp_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
118 | #endif | 121 | #endif |
diff --git a/include/usage.h b/include/usage.h index c68ae2e0d..ce8d407e3 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -222,6 +222,15 @@ | |||
222 | "\t\t for all differing bytes\n" \ | 222 | "\t\t for all differing bytes\n" \ |
223 | "\t-s\tquiet mode - do not print" | 223 | "\t-s\tquiet mode - do not print" |
224 | 224 | ||
225 | #define comm_trivial_usage \ | ||
226 | "[-123] FILE1 FILE2" | ||
227 | #define comm_full_usage \ | ||
228 | "Compare files. Compares FILE1 to FILE2, or to stdin if - is specified.\n\n" \ | ||
229 | "Options:\n" \ | ||
230 | "\t-1\tSuppress lines unique to FILE1\n" \ | ||
231 | "\t-2\tSuppress lines unique to FILE2\n" \ | ||
232 | "\t-3\tSuppress lines common to both files" | ||
233 | |||
225 | #define cp_trivial_usage \ | 234 | #define cp_trivial_usage \ |
226 | "[OPTION]... SOURCE DEST" | 235 | "[OPTION]... SOURCE DEST" |
227 | #define cp_full_usage \ | 236 | #define cp_full_usage \ |