Small comm implementatin from Rob Sullivan. Needed to build perl.

This commit is contained in:
Rob Landley
2005-05-11 23:12:49 +00:00
parent b662f0d58b
commit 2acfd7bd26
5 changed files with 177 additions and 0 deletions

View File

@@ -113,6 +113,9 @@
#ifdef CONFIG_CMP
APPLET(cmp, cmp_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
#ifdef CONFIG_COMM
APPLET(comm, comm_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
#ifdef CONFIG_CP
APPLET(cp, cp_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif

View File

@@ -222,6 +222,15 @@
"\t\t for all differing bytes\n" \
"\t-s\tquiet mode - do not print"
#define comm_trivial_usage \
"[-123] FILE1 FILE2"
#define comm_full_usage \
"Compare files. Compares FILE1 to FILE2, or to stdin if - is specified.\n\n" \
"Options:\n" \
"\t-1\tSuppress lines unique to FILE1\n" \
"\t-2\tSuppress lines unique to FILE2\n" \
"\t-3\tSuppress lines common to both files"
#define cp_trivial_usage \
"[OPTION]... SOURCE DEST"
#define cp_full_usage \