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 | |
| 8 | config CONFIG_FIND |
| 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 | |
Paul Fox | d738429 | 2006-05-12 14:47:20 +0000 | [diff] [blame] | 14 | config CONFIG_FEATURE_FIND_PRINT0 |
| 15 | bool "Enable -print0 option" |
| 16 | default y |
| 17 | depends on CONFIG_FIND |
| 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 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 24 | config 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 |
| 27 | depends on CONFIG_FIND |
| 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 | |
| 32 | config 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 |
| 35 | depends on CONFIG_FIND |
| 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 | |
| 40 | config 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 |
| 43 | depends on CONFIG_FIND |
| 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 | |
| 47 | config 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 |
| 50 | depends on CONFIG_FIND |
| 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 | |
| 55 | config 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 |
| 58 | depends on CONFIG_FIND |
| 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 | |
Eric Andersen | 97d86f2 | 2003-01-23 05:27:42 +0000 | [diff] [blame] | 63 | config 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 |
| 66 | depends on CONFIG_FIND |
| 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 | |
| 71 | config 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 |
| 74 | depends on CONFIG_FIND |
| 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 | |
Rob Landley | 5d3a0e8 | 2005-10-04 03:34:39 +0000 | [diff] [blame] | 78 | config 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 |
| 81 | depends on CONFIG_FIND |
| 82 | help |
| 83 | Support the 'find -exec' option for executing commands based upon |
| 84 | the files matched. |
| 85 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 86 | config CONFIG_GREP |
| 87 | bool "grep" |
| 88 | default n |
| 89 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 90 | grep is used to search files for a specified pattern. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 91 | |
| 92 | config CONFIG_FEATURE_GREP_EGREP_ALIAS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 93 | bool "Support extended regular expressions (egrep & grep -E)" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 94 | default y |
| 95 | depends on CONFIG_GREP |
| 96 | help |
Eric Andersen | fb0c6af | 2003-07-14 19:18:43 +0000 | [diff] [blame] | 97 | Enabled support for extended regular expressions. Extended |
| 98 | regular expressions allow for alternation (foo|bar), grouping, |
| 99 | and various repetition operators. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 100 | |
Glenn L McGrath | c91ce57 | 2003-04-27 02:43:54 +0000 | [diff] [blame] | 101 | config CONFIG_FEATURE_GREP_FGREP_ALIAS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 102 | bool "Alias fgrep to grep -F" |
Glenn L McGrath | c91ce57 | 2003-04-27 02:43:54 +0000 | [diff] [blame] | 103 | default y |
| 104 | depends on CONFIG_GREP |
| 105 | help |
Mike Frysinger | 15ca586 | 2005-07-31 22:41:05 +0000 | [diff] [blame] | 106 | fgrep sees the search pattern as a normal string rather than |
Glenn L McGrath | c91ce57 | 2003-04-27 02:43:54 +0000 | [diff] [blame] | 107 | regular expressions. |
Mike Frysinger | 15ca586 | 2005-07-31 22:41:05 +0000 | [diff] [blame] | 108 | grep -F is always builtin, this just creates the fgrep alias. |
Glenn L McGrath | c91ce57 | 2003-04-27 02:43:54 +0000 | [diff] [blame] | 109 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 110 | config CONFIG_FEATURE_GREP_CONTEXT |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 111 | bool "Enable before and after context flags (-A, -B and -C)" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 112 | default y |
| 113 | depends on CONFIG_GREP |
| 114 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 115 | Print the specified number of leading (-B) and/or trailing (-A) |
| 116 | context surrounding our matching lines. |
| 117 | Print the specified number of context lines (-C). |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 118 | |
| 119 | config CONFIG_XARGS |
| 120 | bool "xargs" |
| 121 | default n |
| 122 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 123 | xargs is used to execute a specified command on |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 124 | every item from standard input. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 125 | |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 126 | config CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 127 | bool "Enable prompt and confirmation option -p" |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 128 | default n |
Glenn L McGrath | 9982596 | 2003-10-09 11:06:45 +0000 | [diff] [blame] | 129 | depends on CONFIG_XARGS |
| 130 | help |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 131 | Support prompt the user about whether to run each command |
| 132 | line and read a line from the terminal. |
| 133 | |
| 134 | config CONFIG_FEATURE_XARGS_SUPPORT_QUOTES |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 135 | bool "Enable support single and double quotes and backslash" |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 136 | default n |
| 137 | depends on CONFIG_XARGS |
| 138 | help |
| 139 | Default xargs unsupport single and double quotes |
| 140 | and backslash for can use aruments with spaces. |
| 141 | |
| 142 | config CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 143 | bool "Enable support options -x" |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 144 | default n |
| 145 | depends on CONFIG_XARGS |
| 146 | help |
| 147 | Enable support exit if the size (see the -s or -n option) |
| 148 | is exceeded. |
| 149 | |
| 150 | config CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM |
Mike Frysinger | 441bfbf | 2006-07-03 05:19:44 +0000 | [diff] [blame] | 151 | bool "Enable null terminated option -0" |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 152 | default n |
| 153 | depends on CONFIG_XARGS |
| 154 | help |
| 155 | Enable input filenames are terminated by a null character |
| 156 | instead of by whitespace, and the quotes and backslash |
| 157 | are not special. |
Glenn L McGrath | 9982596 | 2003-10-09 11:06:45 +0000 | [diff] [blame] | 158 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 159 | endmenu |