blob: 050fe901d46dfabebeb4db2d134722b08c39c103 [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Finding Utilities"
7
8config CONFIG_FIND
9 bool "find"
10 default n
11 help
Eric Andersen65e20a32003-07-05 07:52:35 +000012 find is used to search your system to find specified files.
Eric Andersenc9f20d92002-12-05 08:41:41 +000013
14config CONFIG_FEATURE_FIND_MTIME
15 bool " Enable modified time matching (-mtime) option"
16 default y
17 depends on CONFIG_FIND
18 help
Eric Andersenfb0c6af2003-07-14 19:18:43 +000019 Allow searching based on the modification time of
Paul Fox72d1a232006-01-13 21:05:41 +000020 files, in days.
21
22config CONFIG_FEATURE_FIND_MMIN
23 bool " Enable modified time matching (-min) option"
24 default y
25 depends on CONFIG_FIND
26 help
27 Allow searching based on the modification time of
28 files, in minutes.
Eric Andersenc9f20d92002-12-05 08:41:41 +000029
30config CONFIG_FEATURE_FIND_PERM
31 bool " Enable permissions matching (-perm) option"
32 default y
33 depends on CONFIG_FIND
34 help
Eric Andersenfb0c6af2003-07-14 19:18:43 +000035 Enable searching based on file permissions.
Eric Andersenc9f20d92002-12-05 08:41:41 +000036
37config CONFIG_FEATURE_FIND_TYPE
38 bool " Enable filetype matching (-type) option"
39 default y
40 depends on CONFIG_FIND
41 help
Eric Andersenfb0c6af2003-07-14 19:18:43 +000042 Enable searching based on file type (file,
43 directory, socket, device, etc.).
Eric Andersenc9f20d92002-12-05 08:41:41 +000044
45config CONFIG_FEATURE_FIND_XDEV
46 bool " Enable stay in filesystem (-xdev) option"
47 default y
48 depends on CONFIG_FIND
49 help
Eric Andersen88c916b2003-10-22 09:58:56 +000050 This option will allow find to restrict searches to a single
Eric Andersenfb0c6af2003-07-14 19:18:43 +000051 filesystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +000052
Eric Andersen97d86f22003-01-23 05:27:42 +000053config CONFIG_FEATURE_FIND_NEWER
54 bool " Enable -newer option for comparing file mtimes"
55 default y
56 depends on CONFIG_FIND
57 help
58 Support the 'find -newer' option for finding any files which have
59 a modified time that is more recent than the specified FILE.
60
61config CONFIG_FEATURE_FIND_INUM
62 bool " Enable inode number matching (-inum) option"
63 default y
64 depends on CONFIG_FIND
65 help
Eric Andersen88c916b2003-10-22 09:58:56 +000066 Support the 'find -inum' option for searching by inode number.
Eric Andersen97d86f22003-01-23 05:27:42 +000067
Rob Landley5d3a0e82005-10-04 03:34:39 +000068config CONFIG_FEATURE_FIND_EXEC
69 bool " Enable (-exec) option allowing execution of commands"
70 default y
71 depends on CONFIG_FIND
72 help
73 Support the 'find -exec' option for executing commands based upon
74 the files matched.
75
Eric Andersenc9f20d92002-12-05 08:41:41 +000076config CONFIG_GREP
77 bool "grep"
78 default n
79 help
Eric Andersen65e20a32003-07-05 07:52:35 +000080 grep is used to search files for a specified pattern.
Eric Andersenc9f20d92002-12-05 08:41:41 +000081
82config CONFIG_FEATURE_GREP_EGREP_ALIAS
83 bool " Support extended regular expressions (egrep & grep -E)"
84 default y
85 depends on CONFIG_GREP
86 help
Eric Andersenfb0c6af2003-07-14 19:18:43 +000087 Enabled support for extended regular expressions. Extended
88 regular expressions allow for alternation (foo|bar), grouping,
89 and various repetition operators.
Eric Andersenc9f20d92002-12-05 08:41:41 +000090
Glenn L McGrathc91ce572003-04-27 02:43:54 +000091config CONFIG_FEATURE_GREP_FGREP_ALIAS
Mike Frysinger15ca5862005-07-31 22:41:05 +000092 bool " Alias fgrep to grep -F"
Glenn L McGrathc91ce572003-04-27 02:43:54 +000093 default y
94 depends on CONFIG_GREP
95 help
Mike Frysinger15ca5862005-07-31 22:41:05 +000096 fgrep sees the search pattern as a normal string rather than
Glenn L McGrathc91ce572003-04-27 02:43:54 +000097 regular expressions.
Mike Frysinger15ca5862005-07-31 22:41:05 +000098 grep -F is always builtin, this just creates the fgrep alias.
Glenn L McGrathc91ce572003-04-27 02:43:54 +000099
Eric Andersenc9f20d92002-12-05 08:41:41 +0000100config CONFIG_FEATURE_GREP_CONTEXT
101 bool " Enable before and after context flags (-A, -B and -C)"
102 default y
103 depends on CONFIG_GREP
104 help
Eric Andersene5642112003-07-14 19:37:08 +0000105 Print the specified number of leading (-B) and/or trailing (-A)
106 context surrounding our matching lines.
107 Print the specified number of context lines (-C).
Eric Andersenc9f20d92002-12-05 08:41:41 +0000108
109config CONFIG_XARGS
110 bool "xargs"
111 default n
112 help
Eric Andersen65e20a32003-07-05 07:52:35 +0000113 xargs is used to execute a specified command on
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000114 every item from standard input.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000115
Glenn L McGrathd12061b2003-10-10 23:15:23 +0000116config CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION
117 bool " Enable prompt and confirmation option -p"
118 default n
Glenn L McGrath99825962003-10-09 11:06:45 +0000119 depends on CONFIG_XARGS
120 help
Glenn L McGrathd12061b2003-10-10 23:15:23 +0000121 Support prompt the user about whether to run each command
122 line and read a line from the terminal.
123
124config CONFIG_FEATURE_XARGS_SUPPORT_QUOTES
125 bool " Enable support single and double quotes and backslash"
126 default n
127 depends on CONFIG_XARGS
128 help
129 Default xargs unsupport single and double quotes
130 and backslash for can use aruments with spaces.
131
132config CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT
133 bool " Enable support options -x"
134 default n
135 depends on CONFIG_XARGS
136 help
137 Enable support exit if the size (see the -s or -n option)
138 is exceeded.
139
140config CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM
141 bool " Enable options -0"
142 default n
143 depends on CONFIG_XARGS
144 help
145 Enable input filenames are terminated by a null character
146 instead of by whitespace, and the quotes and backslash
147 are not special.
Glenn L McGrath99825962003-10-09 11:06:45 +0000148
Eric Andersenc9f20d92002-12-05 08:41:41 +0000149endmenu