2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 menu "Finding Utilities"
12 find is used to search your system to find specified files.
14 config FEATURE_FIND_PRINT0
15 bool "Enable -print0 option"
19 Causes output names to be separated by a null character
20 rather than a newline. This allows names that contain
21 newlines and other whitespace to be more easily
22 interpreted by other programs.
24 config FEATURE_FIND_MTIME
25 bool "Enable modified time matching (-mtime) option"
29 Allow searching based on the modification time of
32 config FEATURE_FIND_MMIN
33 bool "Enable modified time matching (-min) option"
37 Allow searching based on the modification time of
40 config FEATURE_FIND_PERM
41 bool "Enable permissions matching (-perm) option"
45 Enable searching based on file permissions.
47 config FEATURE_FIND_TYPE
48 bool "Enable filetype matching (-type) option"
52 Enable searching based on file type (file,
53 directory, socket, device, etc.).
55 config FEATURE_FIND_XDEV
56 bool "Enable stay in filesystem (-xdev) option"
60 This option allows find to restrict searches to a single filesystem.
62 config FEATURE_FIND_MAXDEPTH
63 bool "Enable -maxdepth N option"
67 This option enables -maxdepth N option.
69 config FEATURE_FIND_NEWER
70 bool "Enable -newer option for comparing file mtimes"
74 Support the 'find -newer' option for finding any files which have
75 a modified time that is more recent than the specified FILE.
77 config FEATURE_FIND_INUM
78 bool "Enable inode number matching (-inum) option"
82 Support the 'find -inum' option for searching by inode number.
84 config FEATURE_FIND_EXEC
85 bool "Enable (-exec) option allowing execution of commands"
89 Support the 'find -exec' option for executing commands based upon
92 config FEATURE_FIND_USER
93 bool "Enable username/uid matching (-user) option"
97 Support the 'find -user' option for searching by username or uid.
99 config FEATURE_FIND_GROUP
100 bool "Enable group/gid matching (-group) option"
104 Support the 'find -group' option for searching by group name or gid.
106 config FEATURE_FIND_NOT
107 bool "Enable the 'not' (!) operator"
111 Support the '!' operator to invert the test results.
112 If 'Enable full-blown desktop' is enabled, then will also support
113 the non-POSIX notation '-not'.
115 config FEATURE_FIND_DEPTH
116 bool "Enable the -depth option"
120 Process each directory's contents before the directory itself.
122 config FEATURE_FIND_PAREN
123 bool "Enable parens in options"
127 Enable usage of parens '(' to specify logical order of arguments.
129 config FEATURE_FIND_SIZE
130 bool "Enable (-size) option allowing matching for file size"
134 Support the 'find -size' option for searching by file size.
136 config FEATURE_FIND_PRUNE
137 bool "Enable (-prune) option allowing to exclude subdirectories"
141 If the file is a directory, dont descend into it. Useful for
142 exclusion .svn and CVS directories.
144 config FEATURE_FIND_DELETE
145 bool "Enable -delete option allowing to delete files"
147 depends on FIND && FEATURE_FIND_DEPTH
149 Support the 'find -delete' option for deleting files and direcotries.
150 WARNING: This option can do much harm if used wrong. Busybox will not
151 try to protect the user from doing stupid things. Use with care.
153 config FEATURE_FIND_PATH
154 bool "Enable -path option allowing to match pathname patterns"
158 The -path option matches whole pathname instead of just filename.
160 config FEATURE_FIND_REGEX
161 bool "Enable -regex: match pathname to regex"
165 The -regex option matches whole pathname against regular expression.
171 grep is used to search files for a specified pattern.
173 config FEATURE_GREP_EGREP_ALIAS
174 bool "Support extended regular expressions (egrep & grep -E)"
178 Enabled support for extended regular expressions. Extended
179 regular expressions allow for alternation (foo|bar), grouping,
180 and various repetition operators.
182 config FEATURE_GREP_FGREP_ALIAS
183 bool "Alias fgrep to grep -F"
187 fgrep sees the search pattern as a normal string rather than
189 grep -F is always builtin, this just creates the fgrep alias.
191 config FEATURE_GREP_CONTEXT
192 bool "Enable before and after context flags (-A, -B and -C)"
196 Print the specified number of leading (-B) and/or trailing (-A)
197 context surrounding our matching lines.
198 Print the specified number of context lines (-C).
204 xargs is used to execute a specified command on
205 every item from standard input.
207 config FEATURE_XARGS_SUPPORT_CONFIRMATION
208 bool "Enable prompt and confirmation option -p"
212 Support prompt the user about whether to run each command
213 line and read a line from the terminal.
215 config FEATURE_XARGS_SUPPORT_QUOTES
216 bool "Enable support single and double quotes and backslash"
220 Default xargs unsupport single and double quotes
221 and backslash for can use aruments with spaces.
223 config FEATURE_XARGS_SUPPORT_TERMOPT
224 bool "Enable support options -x"
228 Enable support exit if the size (see the -s or -n option)
231 config FEATURE_XARGS_SUPPORT_ZERO_TERM
232 bool "Enable null terminated option -0"
236 Enable input filenames are terminated by a null character
237 instead of by whitespace, and the quotes and backslash