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 | |
| 14 | config CONFIG_FEATURE_FIND_MTIME |
| 15 | bool " Enable modified time matching (-mtime) option" |
| 16 | default y |
| 17 | depends on CONFIG_FIND |
| 18 | help |
Eric Andersen | fb0c6af | 2003-07-14 19:18:43 +0000 | [diff] [blame] | 19 | Allow searching based on the modification time of |
| 20 | files. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 21 | |
| 22 | config CONFIG_FEATURE_FIND_PERM |
| 23 | bool " Enable permissions matching (-perm) option" |
| 24 | default y |
| 25 | depends on CONFIG_FIND |
| 26 | help |
Eric Andersen | fb0c6af | 2003-07-14 19:18:43 +0000 | [diff] [blame] | 27 | Enable searching based on file permissions. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 28 | |
| 29 | config CONFIG_FEATURE_FIND_TYPE |
| 30 | bool " Enable filetype matching (-type) option" |
| 31 | default y |
| 32 | depends on CONFIG_FIND |
| 33 | help |
Eric Andersen | fb0c6af | 2003-07-14 19:18:43 +0000 | [diff] [blame] | 34 | Enable searching based on file type (file, |
| 35 | directory, socket, device, etc.). |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 36 | |
| 37 | config CONFIG_FEATURE_FIND_XDEV |
| 38 | bool " Enable stay in filesystem (-xdev) option" |
| 39 | default y |
| 40 | depends on CONFIG_FIND |
| 41 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 42 | This option will allow find to restrict searches to a single |
Eric Andersen | fb0c6af | 2003-07-14 19:18:43 +0000 | [diff] [blame] | 43 | filesystem. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 44 | |
Eric Andersen | 97d86f2 | 2003-01-23 05:27:42 +0000 | [diff] [blame] | 45 | config CONFIG_FEATURE_FIND_NEWER |
| 46 | bool " Enable -newer option for comparing file mtimes" |
| 47 | default y |
| 48 | depends on CONFIG_FIND |
| 49 | help |
| 50 | Support the 'find -newer' option for finding any files which have |
| 51 | a modified time that is more recent than the specified FILE. |
| 52 | |
| 53 | config CONFIG_FEATURE_FIND_INUM |
| 54 | bool " Enable inode number matching (-inum) option" |
| 55 | default y |
| 56 | depends on CONFIG_FIND |
| 57 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 58 | Support the 'find -inum' option for searching by inode number. |
Eric Andersen | 97d86f2 | 2003-01-23 05:27:42 +0000 | [diff] [blame] | 59 | |
Rob Landley | 5d3a0e8 | 2005-10-04 03:34:39 +0000 | [diff] [blame] | 60 | config CONFIG_FEATURE_FIND_EXEC |
| 61 | bool " Enable (-exec) option allowing execution of commands" |
| 62 | default y |
| 63 | depends on CONFIG_FIND |
| 64 | help |
| 65 | Support the 'find -exec' option for executing commands based upon |
| 66 | the files matched. |
| 67 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 68 | config CONFIG_GREP |
| 69 | bool "grep" |
| 70 | default n |
| 71 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 72 | grep is used to search files for a specified pattern. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 73 | |
| 74 | config CONFIG_FEATURE_GREP_EGREP_ALIAS |
| 75 | bool " Support extended regular expressions (egrep & grep -E)" |
| 76 | default y |
| 77 | depends on CONFIG_GREP |
| 78 | help |
Eric Andersen | fb0c6af | 2003-07-14 19:18:43 +0000 | [diff] [blame] | 79 | Enabled support for extended regular expressions. Extended |
| 80 | regular expressions allow for alternation (foo|bar), grouping, |
| 81 | and various repetition operators. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 82 | |
Glenn L McGrath | c91ce57 | 2003-04-27 02:43:54 +0000 | [diff] [blame] | 83 | config CONFIG_FEATURE_GREP_FGREP_ALIAS |
Mike Frysinger | 15ca586 | 2005-07-31 22:41:05 +0000 | [diff] [blame] | 84 | bool " Alias fgrep to grep -F" |
Glenn L McGrath | c91ce57 | 2003-04-27 02:43:54 +0000 | [diff] [blame] | 85 | default y |
| 86 | depends on CONFIG_GREP |
| 87 | help |
Mike Frysinger | 15ca586 | 2005-07-31 22:41:05 +0000 | [diff] [blame] | 88 | fgrep sees the search pattern as a normal string rather than |
Glenn L McGrath | c91ce57 | 2003-04-27 02:43:54 +0000 | [diff] [blame] | 89 | regular expressions. |
Mike Frysinger | 15ca586 | 2005-07-31 22:41:05 +0000 | [diff] [blame] | 90 | grep -F is always builtin, this just creates the fgrep alias. |
Glenn L McGrath | c91ce57 | 2003-04-27 02:43:54 +0000 | [diff] [blame] | 91 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 92 | config CONFIG_FEATURE_GREP_CONTEXT |
| 93 | bool " Enable before and after context flags (-A, -B and -C)" |
| 94 | default y |
| 95 | depends on CONFIG_GREP |
| 96 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 97 | Print the specified number of leading (-B) and/or trailing (-A) |
| 98 | context surrounding our matching lines. |
| 99 | Print the specified number of context lines (-C). |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 100 | |
| 101 | config CONFIG_XARGS |
| 102 | bool "xargs" |
| 103 | default n |
| 104 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 105 | xargs is used to execute a specified command on |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 106 | every item from standard input. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 107 | |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 108 | config CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION |
| 109 | bool " Enable prompt and confirmation option -p" |
| 110 | default n |
Glenn L McGrath | 9982596 | 2003-10-09 11:06:45 +0000 | [diff] [blame] | 111 | depends on CONFIG_XARGS |
| 112 | help |
Glenn L McGrath | d12061b | 2003-10-10 23:15:23 +0000 | [diff] [blame] | 113 | Support prompt the user about whether to run each command |
| 114 | line and read a line from the terminal. |
| 115 | |
| 116 | config CONFIG_FEATURE_XARGS_SUPPORT_QUOTES |
| 117 | bool " Enable support single and double quotes and backslash" |
| 118 | default n |
| 119 | depends on CONFIG_XARGS |
| 120 | help |
| 121 | Default xargs unsupport single and double quotes |
| 122 | and backslash for can use aruments with spaces. |
| 123 | |
| 124 | config CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT |
| 125 | bool " Enable support options -x" |
| 126 | default n |
| 127 | depends on CONFIG_XARGS |
| 128 | help |
| 129 | Enable support exit if the size (see the -s or -n option) |
| 130 | is exceeded. |
| 131 | |
| 132 | config CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM |
| 133 | bool " Enable options -0" |
| 134 | default n |
| 135 | depends on CONFIG_XARGS |
| 136 | help |
| 137 | Enable input filenames are terminated by a null character |
| 138 | instead of by whitespace, and the quotes and backslash |
| 139 | are not special. |
Glenn L McGrath | 9982596 | 2003-10-09 11:06:45 +0000 | [diff] [blame] | 140 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 141 | endmenu |