Small comm implementatin from Rob Sullivan. Needed to build perl.
This commit is contained in:
@@ -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
|
||||
|
@@ -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 \
|
||||
|
Reference in New Issue
Block a user