diff options
author | Eric Andersen <andersen@codepoet.org> | 1999-11-10 23:13:02 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 1999-11-10 23:13:02 +0000 |
commit | d73dc5b07390fb90e7f605871c993a28eedf1d46 (patch) | |
tree | 3e448e6550da52d2709e5f52fbae56e9df9462cc /findutils/grep.c | |
parent | 84d85680712573c7a8bd7d0491c3f944dc08ad10 (diff) | |
download | busybox-w32-d73dc5b07390fb90e7f605871c993a28eedf1d46.tar.gz busybox-w32-d73dc5b07390fb90e7f605871c993a28eedf1d46.tar.bz2 busybox-w32-d73dc5b07390fb90e7f605871c993a28eedf1d46.zip |
Updates to usage, and made tar work.
-Erik
Diffstat (limited to 'findutils/grep.c')
-rw-r--r-- | findutils/grep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/findutils/grep.c b/findutils/grep.c index 8dcff0586..84bb99667 100644 --- a/findutils/grep.c +++ b/findutils/grep.c | |||
@@ -32,15 +32,16 @@ | |||
32 | #include <ctype.h> | 32 | #include <ctype.h> |
33 | 33 | ||
34 | static const char grep_usage[] = | 34 | static const char grep_usage[] = |
35 | "grep [-ihn]... PATTERN [FILE]...\n" | 35 | "grep [OPTIONS]... PATTERN [FILE]...\n\n" |
36 | "Search for PATTERN in each FILE or standard input.\n\n" | 36 | "Search for PATTERN in each FILE or standard input.\n\n" |
37 | "OPTIONS:\n" | ||
37 | "\t-h\tsuppress the prefixing filename on output\n" | 38 | "\t-h\tsuppress the prefixing filename on output\n" |
38 | "\t-i\tignore case distinctions\n" | 39 | "\t-i\tignore case distinctions\n" |
39 | "\t-n\tprint line number with output lines\n\n" | 40 | "\t-n\tprint line number with output lines\n\n" |
40 | #if defined BB_REGEXP | 41 | #if defined BB_REGEXP |
41 | "This version of grep matches full regexps.\n"; | 42 | "This version of grep matches full regular expresions.\n"; |
42 | #else | 43 | #else |
43 | "This version of grep matches strings (not regexps).\n"; | 44 | "This version of grep matches strings (not regular expresions).\n"; |
44 | #endif | 45 | #endif |
45 | 46 | ||
46 | 47 | ||