diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
commit | d353f773bab8c0f92e149a74400aa31b57da9d05 (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /find.c | |
parent | 3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff) | |
download | busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2 busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip |
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
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) |