find: support for !
[oweals/busybox.git] / findutils / Config.in
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 FIND
9         bool "find"
10         default n
11         help
12           find is used to search your system to find specified files.
13
14 config FEATURE_FIND_PRINT0
15         bool "Enable -print0 option"
16         default y
17         depends on 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
24 config FEATURE_FIND_MTIME
25         bool "Enable modified time matching (-mtime) option"
26         default y
27         depends on FIND
28         help
29           Allow searching based on the modification time of
30           files, in days.
31
32 config FEATURE_FIND_MMIN
33         bool "Enable modified time matching (-min) option"
34         default y
35         depends on FIND
36         help
37           Allow searching based on the modification time of
38           files, in minutes.
39
40 config FEATURE_FIND_PERM
41         bool "Enable permissions matching (-perm) option"
42         default y
43         depends on FIND
44         help
45           Enable searching based on file permissions.
46
47 config FEATURE_FIND_TYPE
48         bool "Enable filetype matching (-type) option"
49         default y
50         depends on FIND
51         help
52           Enable searching based on file type (file,
53           directory, socket, device, etc.).
54
55 config FEATURE_FIND_XDEV
56         bool "Enable stay in filesystem (-xdev) option"
57         default y
58         depends on FIND
59         help
60           This option will allow find to restrict searches to a single
61           filesystem.
62
63 config FEATURE_FIND_NEWER
64         bool "Enable -newer option for comparing file mtimes"
65         default y
66         depends on 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 FEATURE_FIND_INUM
72         bool "Enable inode number matching (-inum) option"
73         default y
74         depends on FIND
75         help
76           Support the 'find -inum' option for searching by inode number.
77
78 config FEATURE_FIND_EXEC
79         bool "Enable (-exec) option allowing execution of commands"
80         default y
81         depends on FIND
82         help
83           Support the 'find -exec' option for executing commands based upon
84           the files matched.
85
86 config FEATURE_FIND_USER
87         bool "Enable username/uid matching (-user) option"
88         default y
89         depends on FIND
90         help
91           Support the 'find -user' option for searching by username or uid.
92
93 config FEATURE_FIND_NOT
94         bool "Enable the 'not' (!) operator"
95         default y
96         depends on FIND
97         help
98           Support the '!' operator to invert the test results. If 'Enable
99           full-blown desktop' is enabled, then will also the non-POSIX 
100           '-not' be supported.
101
102 config FEATURE_FIND_NOT
103         bool "Enable the 'not' (!) operator"
104         default y
105         depends on FIND
106         help
107           Support the '!' operator to invert the test results. If 'Enable
108           full-blown desktop' is enabled, then will also the non-POSIX 
109           '-not' be supported.
110
111 config GREP
112         bool "grep"
113         default n
114         help
115           grep is used to search files for a specified pattern.
116
117 config FEATURE_GREP_EGREP_ALIAS
118         bool "Support extended regular expressions (egrep & grep -E)"
119         default y
120         depends on GREP
121         help
122           Enabled support for extended regular expressions.  Extended
123           regular expressions allow for alternation (foo|bar), grouping,
124           and various repetition operators.
125
126 config FEATURE_GREP_FGREP_ALIAS
127         bool "Alias fgrep to grep -F"
128         default y
129         depends on GREP
130         help
131           fgrep sees the search pattern as a normal string rather than
132           regular expressions.
133           grep -F is always builtin, this just creates the fgrep alias.
134
135 config FEATURE_GREP_CONTEXT
136         bool "Enable before and after context flags (-A, -B and -C)"
137         default y
138         depends on GREP
139         help
140           Print the specified number of leading (-B) and/or trailing (-A)
141           context surrounding our matching lines.
142           Print the specified number of context lines (-C).
143
144 config XARGS
145         bool "xargs"
146         default n
147         help
148           xargs is used to execute a specified command on
149           every item from standard input.
150
151 config FEATURE_XARGS_SUPPORT_CONFIRMATION
152         bool "Enable prompt and confirmation option -p"
153         default n
154         depends on XARGS
155         help
156           Support prompt the user about whether to run each command
157           line and read a line from the terminal.
158
159 config FEATURE_XARGS_SUPPORT_QUOTES
160         bool "Enable support single and double quotes and backslash"
161         default n
162         depends on XARGS
163         help
164           Default xargs unsupport single and double quotes
165           and backslash for can use aruments with spaces.
166
167 config FEATURE_XARGS_SUPPORT_TERMOPT
168         bool "Enable support options -x"
169         default n
170         depends on XARGS
171         help
172           Enable support exit if the size (see the -s or -n option)
173           is exceeded.
174
175 config FEATURE_XARGS_SUPPORT_ZERO_TERM
176         bool "Enable null terminated option -0"
177         default n
178         depends on XARGS
179         help
180           Enable input filenames are terminated by a null character
181           instead of by whitespace, and the quotes and backslash
182           are not special.
183
184 endmenu