source: MondoRescue/branches/2.2.5/mindi-busybox/findutils/Config.in@ 2142

Last change on this file since 2142 was 1765, checked in by Bruno Cornec, 16 years ago

Update to busybox 1.7.2

File size: 6.3 KB
RevLine 
[821]1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Finding Utilities"
7
[1765]8config FIND
[821]9 bool "find"
10 default n
11 help
12 find is used to search your system to find specified files.
13
[1765]14config FEATURE_FIND_PRINT0
[821]15 bool "Enable -print0 option"
16 default y
[1765]17 depends on FIND
[821]18 help
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.
23
[1765]24config FEATURE_FIND_MTIME
[821]25 bool "Enable modified time matching (-mtime) option"
26 default y
[1765]27 depends on FIND
[821]28 help
29 Allow searching based on the modification time of
30 files, in days.
31
[1765]32config FEATURE_FIND_MMIN
33 bool "Enable modified time matching (-mmin) option"
[821]34 default y
[1765]35 depends on FIND
[821]36 help
37 Allow searching based on the modification time of
38 files, in minutes.
39
[1765]40config FEATURE_FIND_PERM
[821]41 bool "Enable permissions matching (-perm) option"
42 default y
[1765]43 depends on FIND
[821]44 help
45 Enable searching based on file permissions.
46
[1765]47config FEATURE_FIND_TYPE
[821]48 bool "Enable filetype matching (-type) option"
49 default y
[1765]50 depends on FIND
[821]51 help
52 Enable searching based on file type (file,
53 directory, socket, device, etc.).
54
[1765]55config FEATURE_FIND_XDEV
[821]56 bool "Enable stay in filesystem (-xdev) option"
57 default y
[1765]58 depends on FIND
[821]59 help
[1765]60 This option allows find to restrict searches to a single filesystem.
[821]61
[1765]62config FEATURE_FIND_MAXDEPTH
63 bool "Enable -maxdepth N option"
64 default y
65 depends on FIND
66 help
67 This option enables -maxdepth N option.
68
69config FEATURE_FIND_NEWER
[821]70 bool "Enable -newer option for comparing file mtimes"
71 default y
[1765]72 depends on FIND
[821]73 help
74 Support the 'find -newer' option for finding any files which have
75 a modified time that is more recent than the specified FILE.
76
[1765]77config FEATURE_FIND_INUM
[821]78 bool "Enable inode number matching (-inum) option"
79 default y
[1765]80 depends on FIND
[821]81 help
82 Support the 'find -inum' option for searching by inode number.
83
[1765]84config FEATURE_FIND_EXEC
[821]85 bool "Enable (-exec) option allowing execution of commands"
86 default y
[1765]87 depends on FIND
[821]88 help
89 Support the 'find -exec' option for executing commands based upon
90 the files matched.
91
[1765]92config FEATURE_FIND_USER
93 bool "Enable username/uid matching (-user) option"
94 default y
95 depends on FIND
96 help
97 Support the 'find -user' option for searching by username or uid.
98
99config FEATURE_FIND_GROUP
100 bool "Enable group/gid matching (-group) option"
101 default y
102 depends on FIND
103 help
104 Support the 'find -group' option for searching by group name or gid.
105
106config FEATURE_FIND_NOT
107 bool "Enable the 'not' (!) operator"
108 default y
109 depends on FIND
110 help
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'.
114
115config FEATURE_FIND_DEPTH
116 bool "Enable the -depth option"
117 default y
118 depends on FIND
119 help
120 Process each directory's contents before the directory itself.
121
122config FEATURE_FIND_PAREN
123 bool "Enable parens in options"
124 default y
125 depends on FIND
126 help
127 Enable usage of parens '(' to specify logical order of arguments.
128
129config FEATURE_FIND_SIZE
130 bool "Enable (-size) option allowing matching for file size"
131 default y
132 depends on FIND
133 help
134 Support the 'find -size' option for searching by file size.
135
136config FEATURE_FIND_PRUNE
137 bool "Enable (-prune) option allowing to exclude subdirectories"
138 default y
139 depends on FIND
140 help
141 If the file is a directory, dont descend into it. Useful for
142 exclusion .svn and CVS directories.
143
144config FEATURE_FIND_DELETE
145 bool "Enable -delete option allowing to delete files"
146 default n
147 depends on FIND && FEATURE_FIND_DEPTH
148 help
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.
152
153config FEATURE_FIND_PATH
154 bool "Enable -path option allowing to match pathname patterns"
155 default y
156 depends on FIND
157 help
158 The -path option matches whole pathname instead of just filename.
159
160config FEATURE_FIND_REGEX
161 bool "Enable -regex: match pathname to regex"
162 default y
163 depends on FIND
164 help
165 The -regex option matches whole pathname against regular expression.
166
167config FEATURE_FIND_CONTEXT
168 bool "Enable (-context) option for matching security context"
169 default n
170 depends on FIND && SELINUX
171 help
172 Support the 'find -context' option for matching security context.
173
174config GREP
[821]175 bool "grep"
176 default n
177 help
178 grep is used to search files for a specified pattern.
179
[1765]180config FEATURE_GREP_EGREP_ALIAS
[821]181 bool "Support extended regular expressions (egrep & grep -E)"
182 default y
[1765]183 depends on GREP
[821]184 help
185 Enabled support for extended regular expressions. Extended
186 regular expressions allow for alternation (foo|bar), grouping,
187 and various repetition operators.
188
[1765]189config FEATURE_GREP_FGREP_ALIAS
[821]190 bool "Alias fgrep to grep -F"
191 default y
[1765]192 depends on GREP
[821]193 help
194 fgrep sees the search pattern as a normal string rather than
195 regular expressions.
196 grep -F is always builtin, this just creates the fgrep alias.
197
[1765]198config FEATURE_GREP_CONTEXT
[821]199 bool "Enable before and after context flags (-A, -B and -C)"
200 default y
[1765]201 depends on GREP
[821]202 help
203 Print the specified number of leading (-B) and/or trailing (-A)
204 context surrounding our matching lines.
205 Print the specified number of context lines (-C).
206
[1765]207config XARGS
[821]208 bool "xargs"
209 default n
210 help
211 xargs is used to execute a specified command on
212 every item from standard input.
213
[1765]214config FEATURE_XARGS_SUPPORT_CONFIRMATION
[821]215 bool "Enable prompt and confirmation option -p"
216 default n
[1765]217 depends on XARGS
[821]218 help
219 Support prompt the user about whether to run each command
220 line and read a line from the terminal.
221
[1765]222config FEATURE_XARGS_SUPPORT_QUOTES
[821]223 bool "Enable support single and double quotes and backslash"
224 default n
[1765]225 depends on XARGS
[821]226 help
227 Default xargs unsupport single and double quotes
228 and backslash for can use aruments with spaces.
229
[1765]230config FEATURE_XARGS_SUPPORT_TERMOPT
[821]231 bool "Enable support options -x"
232 default n
[1765]233 depends on XARGS
[821]234 help
235 Enable support exit if the size (see the -s or -n option)
236 is exceeded.
237
[1765]238config FEATURE_XARGS_SUPPORT_ZERO_TERM
239 bool "Enable null terminated option -0"
[821]240 default n
[1765]241 depends on XARGS
[821]242 help
243 Enable input filenames are terminated by a null character
244 instead of by whitespace, and the quotes and backslash
245 are not special.
246
247endmenu
Note: See TracBrowser for help on using the repository browser.