aboutsummaryrefslogtreecommitdiff
path: root/find.c
diff options
context:
space:
mode:
Diffstat (limited to 'find.c')
-rw-r--r--find.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/find.c b/find.c
index e18f3c569..1c209aea1 100644
--- a/find.c
+++ b/find.c
@@ -32,18 +32,6 @@ static char *pattern = NULL;
32static char *directory = "."; 32static char *directory = ".";
33static int dereferenceFlag = FALSE; 33static int dereferenceFlag = FALSE;
34 34
35static 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
47static int fileAction(const char *fileName, struct stat *statbuf, void* junk) 35static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
48{ 36{
49 if (pattern == NULL) 37 if (pattern == NULL)