aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-05-11 23:12:49 +0000
committerRob Landley <rob@landley.net>2005-05-11 23:12:49 +0000
commit2acfd7bd2640655138260e0661990e12a99c57d3 (patch)
treee162cc6fca7b67b684492c758a43fb9463782a7d /include
parentb662f0d58ba40cbbc1cca849fb6e8665688deb5e (diff)
downloadbusybox-w32-2acfd7bd2640655138260e0661990e12a99c57d3.tar.gz
busybox-w32-2acfd7bd2640655138260e0661990e12a99c57d3.tar.bz2
busybox-w32-2acfd7bd2640655138260e0661990e12a99c57d3.zip
Small comm implementatin from Rob Sullivan. Needed to build perl.
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h9
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 \