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 | fb0c6af | 2003-07-14 19:18:43 +0000 | [diff] [blame] | 42 | This option will restrict find to a single |
| 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 |
| 58 | Support the 'fine -inum' option for searching by inode number. |
| 59 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 60 | config CONFIG_GREP |
| 61 | bool "grep" |
| 62 | default n |
| 63 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 64 | grep is used to search files for a specified pattern. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 65 | |
| 66 | config CONFIG_FEATURE_GREP_EGREP_ALIAS |
| 67 | bool " Support extended regular expressions (egrep & grep -E)" |
| 68 | default y |
| 69 | depends on CONFIG_GREP |
| 70 | help |
Eric Andersen | fb0c6af | 2003-07-14 19:18:43 +0000 | [diff] [blame] | 71 | Enabled support for extended regular expressions. Extended |
| 72 | regular expressions allow for alternation (foo|bar), grouping, |
| 73 | and various repetition operators. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 74 | |
Glenn L McGrath | c91ce57 | 2003-04-27 02:43:54 +0000 | [diff] [blame] | 75 | config CONFIG_FEATURE_GREP_FGREP_ALIAS |
| 76 | bool " Alias fgrep to grep -f" |
| 77 | default y |
| 78 | depends on CONFIG_GREP |
| 79 | help |
| 80 | fgrep sees the search pattern as a normal sting rather than |
| 81 | regular expressions. |
| 82 | grep -f is always builtin, this just creates the fgrep alias. |
| 83 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 84 | config CONFIG_FEATURE_GREP_CONTEXT |
| 85 | bool " Enable before and after context flags (-A, -B and -C)" |
| 86 | default y |
| 87 | depends on CONFIG_GREP |
| 88 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 89 | Print the specified number of leading (-B) and/or trailing (-A) |
| 90 | context surrounding our matching lines. |
| 91 | Print the specified number of context lines (-C). |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 92 | |
| 93 | config CONFIG_XARGS |
| 94 | bool "xargs" |
| 95 | default n |
| 96 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 97 | xargs is used to execute a specified command on |
| 98 | every item from standard input. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 99 | |
| 100 | endmenu |
| 101 | |