aboutsummaryrefslogtreecommitdiff
path: root/grep.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
committerMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /grep.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'grep.c')
-rw-r--r--grep.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/grep.c b/grep.c
index 03945fa25..a2c07c523 100644
--- a/grep.c
+++ b/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;