Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see scripts/kbuild/config-language.txt. |
| 4 | # |
| 5 | |
| 6 | menu "Finding Utilities" |
| 7 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 8 | config FIND |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 9 | bool "find" |
| 10 | default n |
| 11 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 12 | find is used to search your system to find specified files. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 13 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 14 | config FEATURE_FIND_PRINT0 |
Paul Fox | d738429 | 2006-05-12 14:47:20 +0000 | [diff] [blame] | 15 | bool "Enable -print0 option" |
| 16 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 17 | depends on FIND |
Paul Fox | d738429 | 2006-05-12 14:47:20 +0000 | [diff] [blame] | 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 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 24 | config FEATURE_FIND_MTIME |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 25 | bool "Enable modified time matching (-mtime) option" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 26 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 27 | depends on FIND |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 28 | help |
Eric Andersen | fb0c6af | 2003-07-14 19:18:43 +0000 | [diff] [blame] | 29 | Allow searching based on the modification time of |
Paul Fox | 72d1a23 | 2006-01-13 21:05:41 +0000 | [diff] [blame] | 30 | files, in days. |
| 31 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 32 | config FEATURE_FIND_MMIN |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 33 | bool "Enable modified time matching (-min) option" |
Paul Fox | 72d1a23 | 2006-01-13 21:05:41 +0000 | [diff] [blame] | 34 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 35 | depends on FIND |
Paul Fox | 72d1a23 | 2006-01-13 21:05:41 +0000 | [diff] [blame] | 36 | help |
| 37 | Allow searching based on the modification time of |
| 38 | files, in minutes. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 39 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 40 | config FEATURE_FIND_PERM |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 41 | bool "Enable permissions matching (-perm) option" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 42 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 43 | depends on FIND |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 44 | help |
Eric Andersen | fb0c6af | 2003-07-14 19:18:43 +0000 | [diff] [blame] | 45 | Enable searching based on file permissions. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 46 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 47 | config FEATURE_FIND_TYPE |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 48 | bool "Enable filetype matching (-type) option" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 49 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 50 | depends on FIND |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 51 | help |
Eric Andersen | fb0c6af | 2003-07-14 19:18:43 +0000 | [diff] [blame] | 52 | Enable searching based on file type (file, |
| 53 | directory, socket, device, etc.). |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 54 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 55 | config FEATURE_FIND_XDEV |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 56 | bool "Enable stay in filesystem (-xdev) option" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 57 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 58 | depends on FIND |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 59 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 60 | This option will allow find to restrict searches to a single |
Eric Andersen | fb0c6af | 2003-07-14 19:18:43 +0000 | [diff] [blame] | 61 | filesystem. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 62 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 63 | config FEATURE_FIND_NEWER |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 64 | bool "Enable -newer option for comparing file mtimes" |
Eric Andersen | 97d86f2 | 2003-01-23 05:27:42 +0000 | [diff] [blame] | 65 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 66 | depends on FIND |
Eric Andersen | 97d86f2 | 2003-01-23 05:27:42 +0000 | [diff] [blame] | 67 | help |
| 68 | Support the 'find -newer' option for finding any files which have |
| 69 | a modified time that is more recent than the specified FILE. |
| 70 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 71 | config FEATURE_FIND_INUM |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 72 | bool "Enable inode number matching (-inum) option" |
Eric Andersen | 97d86f2 | 2003-01-23 05:27:42 +0000 | [diff] [blame] | 73 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 74 | depends on FIND |
Eric Andersen | 97d86f2 | 2003-01-23 05:27:42 +0000 | [diff] [blame] | 75 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 76 | Support the 'find -inum' option for searching by inode number. |
Eric Andersen | 97d86f2 | 2003-01-23 05:27:42 +0000 | [diff] [blame] | 77 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 78 | config FEATURE_FIND_EXEC |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 79 | bool "Enable (-exec) option allowing execution of commands" |
Rob Landley | 5d3a0e8 | 2005-10-04 03:34:39 +0000 | [diff] [blame] | 80 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 81 | depends on FIND |
Rob Landley | 5d3a0e8 | 2005-10-04 03:34:39 +0000 | [diff] [blame] | 82 | help |
| 83 | Support the 'find -exec' option for executing commands based upon |
| 84 | the files matched. |
| 85 | |
Denis Vlasenko | a100707 | 2007-02-02 01:17:52 +0000 | [diff] [blame] | 86 | config FEATURE_FIND_USER |
| 87 | bool "Enable username/uid matching (-user) option" |
| 88 | default y |
| 89 | depends on FIND |
| 90 | help |
| 91 | Support the 'find -user' option for searching by username or uid. |
| 92 | |
Denis Vlasenko | 56fce00 | 2007-04-04 23:41:35 +0000 | [diff] [blame] | 93 | config FEATURE_FIND_GROUP |
| 94 | bool "Enable group/gid matching (-group) option" |
| 95 | default y |
| 96 | depends on FIND |
| 97 | help |
| 98 | Support the 'find -group' option for searching by group name or gid. |
| 99 | |
Denis Vlasenko | cf787cf | 2007-02-04 17:11:25 +0000 | [diff] [blame] | 100 | config FEATURE_FIND_NOT |
| 101 | bool "Enable the 'not' (!) operator" |
| 102 | default y |
| 103 | depends on FIND |
| 104 | help |
Denis Vlasenko | 56fce00 | 2007-04-04 23:41:35 +0000 | [diff] [blame] | 105 | Support the '!' operator to invert the test results. |
| 106 | If 'Enable full-blown desktop' is enabled, then will also support |
| 107 | the non-POSIX notation '-not'. |
| 108 | |
| 109 | config FEATURE_FIND_DEPTH |
| 110 | bool "Enable the -depth option" |
| 111 | default y |
| 112 | depends on FIND |
| 113 | help |
| 114 | Process each directory's contents before the directory itself. |
| 115 | |
| 116 | config FEATURE_FIND_PAREN |
| 117 | bool "Enable parens in options" |
| 118 | default y |
| 119 | depends on FIND |
| 120 | help |
| 121 | Enable usage of parens '(' to specify logical order of arguments. |
| 122 | |
| 123 | config FEATURE_FIND_SIZE |
| 124 | bool "Enable (-size) option allowing matching for file size" |
| 125 | default y |
| 126 | depends on FIND |
| 127 | help |
| 128 | Support the 'find -size' option for searching by file size. |
| 129 | |
| 130 | config FEATURE_FIND_PRUNE |
| 131 | bool "Enable (-prune) option allowing to exclude subdirectories" |
| 132 | default y |
| 133 | depends on FIND |
| 134 | help |
| 135 | If the file is a directory, dont descend into it. Useful for |
| 136 | exclusion .svn and CVS directories. |
Denis Vlasenko | cf787cf | 2007-02-04 17:11:25 +0000 | [diff] [blame] | 137 | |
Denis Vlasenko | 62f0479 | 2007-04-13 10:00:12 +0000 | [diff] [blame] | 138 | config FEATURE_FIND_DELETE |
| 139 | bool "Enable -delete option allowing to delete files" |
| 140 | default n |
| 141 | depends on FIND && FEATURE_FIND_DEPTH |
| 142 | help |
| 143 | Support the 'find -delete' option for deleting files and direcotries. |
| 144 | WARNING: This option can do much harm if used wrong. Busybox will not |
| 145 | try to protect the user from doing stupid things. Use with care. |
| 146 | |
| 147 | config FEATURE_FIND_PATH |
| 148 | bool "Enable -path option allowing to match pathname patterns" |
| 149 | default y |
| 150 | depends on FIND |
| 151 | help |
| 152 | The -path option matches whole pathnames instead of just filenames. |
| 153 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 154 | config GREP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 155 | bool "grep" |
| 156 | default n |
| 157 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 158 | grep is used to search files for a specified pattern. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 159 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 160 | config FEATURE_GREP_EGREP_ALIAS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 161 | bool "Support extended regular expressions (egrep & grep -E)" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 162 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 163 | depends on GREP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 164 | help |
Eric Andersen | fb0c6af | 2003-07-14 19:18:43 +0000 | [diff] [blame] | 165 | Enabled support for extended regular expressions. Extended |
| 166 | regular expressions allow for alternation (foo|bar), grouping, |
| 167 | and various repetition operators. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 168 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 169 | config FEATURE_GREP_FGREP_ALIAS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 170 | bool "Alias fgrep to grep -F" |
Glenn L McGrath | c91ce57 | 2003-04-27 02:43:54 +0000 | [diff] [blame] | 171 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 172 | depends on GREP |
Glenn L McGrath | c91ce57 | 2003-04-27 02:43:54 +0000 | [diff] [blame] | 173 | help |
Mike Frysinger | 15ca586 | 2005-07-31 22:41:05 +0000 | [diff] [blame] | 174 | fgrep sees the search pattern as a normal string rather than |
Glenn L McGrath | c91ce57 | 2003-04-27 02:43:54 +0000 | [diff] [blame] | 175 | regular expressions. |
Mike Frysinger | 15ca586 | 2005-07-31 22:41:05 +0000 | [diff] [blame] | 176 | grep -F is always builtin, this just creates the fgrep alias. |
Glenn L McGrath | c91ce57 | 2003-04-27 02:43:54 +0000 | [diff] [blame] | 177 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 178 | config FEATURE_GREP_CONTEXT |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 179 | bool "Enable before and after context flags (-A, -B and -C)" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 180 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 181 | depends on GREP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 182 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 183 | Print the specified number of leading (-B) and/or trailing (-A) |
| 184 | context surrounding our matching lines. |
| 185 | Print the specified number of context lines (-C). |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 186 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 187 | config XARGS |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 188 | bool "xargs" |
| 189 | default n |
| 190 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 191 | xargs is used to execute a specified command on |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 192 | every item from standard input. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 193 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 194 | config FEATURE_XARGS_SUPPORT_CONFIRMATION |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 195 | bool "Enable prompt and confirmation option -p" |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 196 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 197 | depends on XARGS |
Glenn L McGrath | 9982596 | 2003-10-09 11:06:45 +0000 | [diff] [blame] | 198 | help |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 199 | Support prompt the user about whether to run each command |
| 200 | line and read a line from the terminal. |
| 201 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 202 | config FEATURE_XARGS_SUPPORT_QUOTES |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 203 | bool "Enable support single and double quotes and backslash" |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 204 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 205 | depends on XARGS |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 206 | help |
| 207 | Default xargs unsupport single and double quotes |
| 208 | and backslash for can use aruments with spaces. |
| 209 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 210 | config FEATURE_XARGS_SUPPORT_TERMOPT |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 211 | bool "Enable support options -x" |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 212 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 213 | depends on XARGS |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 214 | help |
| 215 | Enable support exit if the size (see the -s or -n option) |
| 216 | is exceeded. |
| 217 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 218 | config FEATURE_XARGS_SUPPORT_ZERO_TERM |
Mike Frysinger | 441bfbf | 2006-07-03 05:19:44 +0000 | [diff] [blame] | 219 | bool "Enable null terminated option -0" |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 220 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 221 | depends on XARGS |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 222 | help |
| 223 | Enable input filenames are terminated by a null character |
| 224 | instead of by whitespace, and the quotes and backslash |
| 225 | are not special. |
Glenn L McGrath | 9982596 | 2003-10-09 11:06:45 +0000 | [diff] [blame] | 226 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 227 | endmenu |