e708259888d009357603e337c976da53512ed1f6
[openwrt-10.03/.git] / package / busybox / config / 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 BUSYBOX_CONFIG_FIND
9         bool "find"
10         default y
11         help
12           find is used to search your system to find specified files.
13
14 config BUSYBOX_CONFIG_FEATURE_FIND_PRINT0
15         bool "Enable -print0 option"
16         default y
17         depends on BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_FEATURE_FIND_MTIME
25         bool "Enable modified time matching (-mtime) option"
26         default n
27         depends on BUSYBOX_CONFIG_FIND
28         help
29           Allow searching based on the modification time of
30           files, in days.
31
32 config BUSYBOX_CONFIG_FEATURE_FIND_MMIN
33         bool "Enable modified time matching (-min) option"
34         default n
35         depends on BUSYBOX_CONFIG_FIND
36         help
37           Allow searching based on the modification time of
38           files, in minutes.
39
40 config BUSYBOX_CONFIG_FEATURE_FIND_PERM
41         bool "Enable permissions matching (-perm) option"
42         default y
43         depends on BUSYBOX_CONFIG_FIND
44         help
45           Enable searching based on file permissions.
46
47 config BUSYBOX_CONFIG_FEATURE_FIND_TYPE
48         bool "Enable filetype matching (-type) option"
49         default y
50         depends on BUSYBOX_CONFIG_FIND
51         help
52           Enable searching based on file type (file,
53           directory, socket, device, etc.).
54
55 config BUSYBOX_CONFIG_FEATURE_FIND_XDEV
56         bool "Enable stay in filesystem (-xdev) option"
57         default y
58         depends on BUSYBOX_CONFIG_FIND
59         help
60           This option will allow find to restrict searches to a single
61           filesystem.
62
63 config BUSYBOX_CONFIG_FEATURE_FIND_NEWER
64         bool "Enable -newer option for comparing file mtimes"
65         default n
66         depends on BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_FEATURE_FIND_INUM
72         bool "Enable inode number matching (-inum) option"
73         default n
74         depends on BUSYBOX_CONFIG_FIND
75         help
76           Support the 'find -inum' option for searching by inode number.
77
78 config BUSYBOX_CONFIG_FEATURE_FIND_EXEC
79         bool "Enable (-exec) option allowing execution of commands"
80         default y
81         depends on BUSYBOX_CONFIG_FIND
82         help
83           Support the 'find -exec' option for executing commands based upon
84           the files matched.
85
86 config BUSYBOX_CONFIG_GREP
87         bool "grep"
88         default y
89         help
90           grep is used to search files for a specified pattern.
91
92 config BUSYBOX_CONFIG_FEATURE_GREP_EGREP_ALIAS
93         bool "Support extended regular expressions (egrep & grep -E)"
94         default y
95         depends on BUSYBOX_CONFIG_GREP
96         help
97           Enabled support for extended regular expressions.  Extended
98           regular expressions allow for alternation (foo|bar), grouping,
99           and various repetition operators.
100
101 config BUSYBOX_CONFIG_FEATURE_GREP_FGREP_ALIAS
102         bool "Alias fgrep to grep -F"
103         default y
104         depends on BUSYBOX_CONFIG_GREP
105         help
106           fgrep sees the search pattern as a normal string rather than
107           regular expressions.
108           grep -F is always builtin, this just creates the fgrep alias.
109
110 config BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT
111         bool "Enable before and after context flags (-A, -B and -C)"
112         default y
113         depends on BUSYBOX_CONFIG_GREP
114         help
115           Print the specified number of leading (-B) and/or trailing (-A)
116           context surrounding our matching lines.
117           Print the specified number of context lines (-C).
118
119 config BUSYBOX_CONFIG_XARGS
120         bool "xargs"
121         default y
122         help
123           xargs is used to execute a specified command on
124           every item from standard input.
125
126 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION
127         bool "Enable prompt and confirmation option -p"
128         default y
129         depends on BUSYBOX_CONFIG_XARGS
130         help
131           Support prompt the user about whether to run each command
132           line and read a line from the terminal.
133
134 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES
135         bool "Enable support single and double quotes and backslash"
136         default y
137         depends on BUSYBOX_CONFIG_XARGS
138         help
139           Default xargs unsupport single and double quotes
140           and backslash for can use aruments with spaces.
141
142 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT
143         bool "Enable support options -x"
144         default y
145         depends on BUSYBOX_CONFIG_XARGS
146         help
147           Enable support exit if the size (see the -s or -n option)
148           is exceeded.
149
150 config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM
151         bool "Enable options -0"
152         default y
153         depends on BUSYBOX_CONFIG_XARGS
154         help
155           Enable input filenames are terminated by a null character
156           instead of by whitespace, and the quotes and backslash
157           are not special.
158
159 endmenu