blob: 10dc72e299c029398a99228bb98cc914b8b0a2fd [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
20 files.
Eric Andersenc9f20d92002-12-05 08:41:41 +000021
22config CONFIG_FEATURE_FIND_PERM
23 bool " Enable permissions matching (-perm) option"
24 default y
25 depends on CONFIG_FIND
26 help
Eric Andersenfb0c6af2003-07-14 19:18:43 +000027 Enable searching based on file permissions.
Eric Andersenc9f20d92002-12-05 08:41:41 +000028
29config CONFIG_FEATURE_FIND_TYPE
30 bool " Enable filetype matching (-type) option"
31 default y
32 depends on CONFIG_FIND
33 help
Eric Andersenfb0c6af2003-07-14 19:18:43 +000034 Enable searching based on file type (file,
35 directory, socket, device, etc.).
Eric Andersenc9f20d92002-12-05 08:41:41 +000036
37config CONFIG_FEATURE_FIND_XDEV
38 bool " Enable stay in filesystem (-xdev) option"
39 default y
40 depends on CONFIG_FIND
41 help
Eric Andersen88c916b2003-10-22 09:58:56 +000042 This option will allow find to restrict searches to a single
Eric Andersenfb0c6af2003-07-14 19:18:43 +000043 filesystem.
Eric Andersenc9f20d92002-12-05 08:41:41 +000044
Eric Andersen97d86f22003-01-23 05:27:42 +000045config 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
53config CONFIG_FEATURE_FIND_INUM
54 bool " Enable inode number matching (-inum) option"
55 default y
56 depends on CONFIG_FIND
57 help
Eric Andersen88c916b2003-10-22 09:58:56 +000058 Support the 'find -inum' option for searching by inode number.
Eric Andersen97d86f22003-01-23 05:27:42 +000059
Eric Andersenc9f20d92002-12-05 08:41:41 +000060config CONFIG_GREP
61 bool "grep"
62 default n
63 help
Eric Andersen65e20a32003-07-05 07:52:35 +000064 grep is used to search files for a specified pattern.
Eric Andersenc9f20d92002-12-05 08:41:41 +000065
66config 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 Andersenfb0c6af2003-07-14 19:18:43 +000071 Enabled support for extended regular expressions. Extended
72 regular expressions allow for alternation (foo|bar), grouping,
73 and various repetition operators.
Eric Andersenc9f20d92002-12-05 08:41:41 +000074
Glenn L McGrathc91ce572003-04-27 02:43:54 +000075config CONFIG_FEATURE_GREP_FGREP_ALIAS
Mike Frysinger15ca5862005-07-31 22:41:05 +000076 bool " Alias fgrep to grep -F"
Glenn L McGrathc91ce572003-04-27 02:43:54 +000077 default y
78 depends on CONFIG_GREP
79 help
Mike Frysinger15ca5862005-07-31 22:41:05 +000080 fgrep sees the search pattern as a normal string rather than
Glenn L McGrathc91ce572003-04-27 02:43:54 +000081 regular expressions.
Mike Frysinger15ca5862005-07-31 22:41:05 +000082 grep -F is always builtin, this just creates the fgrep alias.
Glenn L McGrathc91ce572003-04-27 02:43:54 +000083
Eric Andersenc9f20d92002-12-05 08:41:41 +000084config 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 Andersene5642112003-07-14 19:37:08 +000089 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 Andersenc9f20d92002-12-05 08:41:41 +000092
93config CONFIG_XARGS
94 bool "xargs"
95 default n
96 help
Eric Andersen65e20a32003-07-05 07:52:35 +000097 xargs is used to execute a specified command on
Eric Andersenc7bda1c2004-03-15 08:29:22 +000098 every item from standard input.
Eric Andersenc9f20d92002-12-05 08:41:41 +000099
Glenn L McGrathd12061b2003-10-10 23:15:23 +0000100config CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION
101 bool " Enable prompt and confirmation option -p"
102 default n
Glenn L McGrath99825962003-10-09 11:06:45 +0000103 depends on CONFIG_XARGS
104 help
Glenn L McGrathd12061b2003-10-10 23:15:23 +0000105 Support prompt the user about whether to run each command
106 line and read a line from the terminal.
107
108config CONFIG_FEATURE_XARGS_SUPPORT_QUOTES
109 bool " Enable support single and double quotes and backslash"
110 default n
111 depends on CONFIG_XARGS
112 help
113 Default xargs unsupport single and double quotes
114 and backslash for can use aruments with spaces.
115
116config CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT
117 bool " Enable support options -x"
118 default n
119 depends on CONFIG_XARGS
120 help
121 Enable support exit if the size (see the -s or -n option)
122 is exceeded.
123
124config CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM
125 bool " Enable options -0"
126 default n
127 depends on CONFIG_XARGS
128 help
129 Enable input filenames are terminated by a null character
130 instead of by whitespace, and the quotes and backslash
131 are not special.
Glenn L McGrath99825962003-10-09 11:06:45 +0000132
Eric Andersenc9f20d92002-12-05 08:41:41 +0000133endmenu