diff options
Diffstat (limited to 'find.c')
-rw-r--r-- | find.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -32,18 +32,6 @@ static char *pattern = NULL; | |||
32 | static char *directory = "."; | 32 | static char *directory = "."; |
33 | static int dereferenceFlag = FALSE; | 33 | static int dereferenceFlag = FALSE; |
34 | 34 | ||
35 | static const char find_usage[] = "find [PATH...] [EXPRESSION]\n" | ||
36 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
37 | "\nSearch for files in a directory hierarchy. The default PATH is\n" | ||
38 | "the current directory; default EXPRESSION is '-print'\n\n" | ||
39 | "\nEXPRESSION may consist of:\n" | ||
40 | "\t-follow\t\tDereference symbolic links.\n" | ||
41 | "\t-name PATTERN\tFile name (leading directories removed) matches PATTERN.\n" | ||
42 | "\t-print\t\tprint the full file name followed by a newline to stdout.\n" | ||
43 | #endif | ||
44 | ; | ||
45 | |||
46 | |||
47 | static int fileAction(const char *fileName, struct stat *statbuf, void* junk) | 35 | static int fileAction(const char *fileName, struct stat *statbuf, void* junk) |
48 | { | 36 | { |
49 | if (pattern == NULL) | 37 | if (pattern == NULL) |