aboutsummaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
Diffstat (limited to 'findutils')
-rw-r--r--findutils/find.c12
-rw-r--r--findutils/grep.c15
-rw-r--r--findutils/which.c7
3 files changed, 0 insertions, 34 deletions
diff --git a/findutils/find.c b/findutils/find.c
index e18f3c569..1c209aea1 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -32,18 +32,6 @@ static char *pattern = NULL;
static char *directory = ".";
static int dereferenceFlag = FALSE;
-static const char find_usage[] = "find [PATH...] [EXPRESSION]\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nSearch for files in a directory hierarchy. The default PATH is\n"
- "the current directory; default EXPRESSION is '-print'\n\n"
- "\nEXPRESSION may consist of:\n"
- "\t-follow\t\tDereference symbolic links.\n"
- "\t-name PATTERN\tFile name (leading directories removed) matches PATTERN.\n"
- "\t-print\t\tprint the full file name followed by a newline to stdout.\n"
-#endif
- ;
-
-
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
{
if (pattern == NULL)
diff --git a/findutils/grep.c b/findutils/grep.c
index 03945fa25..a2c07c523 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -31,21 +31,6 @@
extern int optind; /* in unistd.h */
extern int errno; /* for use with strerror() */
-static const char grep_usage[] =
- "grep [-ihHnqvs] pattern [files...]\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nSearch for PATTERN in each FILE or standard input.\n\n"
- "Options:\n"
- "\t-H\tprefix output lines with filename where match was found\n"
- "\t-h\tsuppress the prefixing filename on output\n"
- "\t-i\tignore case distinctions\n"
- "\t-n\tprint line number with output lines\n"
- "\t-q\tbe quiet. Returns 0 if result was found, 1 otherwise\n"
- "\t-v\tselect non-matching lines\n"
- "\t-s\tsuppress file open/read error messages\n\n"
-#endif
- ;
-
/* options */
static int ignore_case = 0;
static int print_filename = 0;
diff --git a/findutils/which.c b/findutils/which.c
index 186bfdad7..943e10a57 100644
--- a/findutils/which.c
+++ b/findutils/which.c
@@ -26,13 +26,6 @@
#include <sys/stat.h>
#include <sys/param.h>
-const char which_usage[] =
- "which [COMMAND ...]\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nLocates a COMMAND.\n"
-#endif
- ;
-
extern int which_main(int argc, char **argv)
{
char *path_list, *test, *tmp, *path_parsed;