2002-12-05 14:11:41 +05:30
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see scripts/kbuild/config-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "Finding Utilities"
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FIND
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "find"
|
|
|
|
default n
|
|
|
|
help
|
2003-07-05 13:22:35 +05:30
|
|
|
find is used to search your system to find specified files.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_FIND_PRINT0
|
2006-05-12 20:17:20 +05:30
|
|
|
bool "Enable -print0 option"
|
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FIND
|
2006-05-12 20:17:20 +05:30
|
|
|
help
|
|
|
|
Causes output names to be separated by a null character
|
|
|
|
rather than a newline. This allows names that contain
|
|
|
|
newlines and other whitespace to be more easily
|
|
|
|
interpreted by other programs.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_FIND_MTIME
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Enable modified time matching (-mtime) option"
|
2002-12-05 14:11:41 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FIND
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-07-15 00:48:43 +05:30
|
|
|
Allow searching based on the modification time of
|
2006-01-14 02:35:41 +05:30
|
|
|
files, in days.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_FIND_MMIN
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Enable modified time matching (-min) option"
|
2006-01-14 02:35:41 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FIND
|
2006-01-14 02:35:41 +05:30
|
|
|
help
|
|
|
|
Allow searching based on the modification time of
|
|
|
|
files, in minutes.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_FIND_PERM
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Enable permissions matching (-perm) option"
|
2002-12-05 14:11:41 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FIND
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-07-15 00:48:43 +05:30
|
|
|
Enable searching based on file permissions.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_FIND_TYPE
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Enable filetype matching (-type) option"
|
2002-12-05 14:11:41 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FIND
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-07-15 00:48:43 +05:30
|
|
|
Enable searching based on file type (file,
|
|
|
|
directory, socket, device, etc.).
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_FIND_XDEV
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Enable stay in filesystem (-xdev) option"
|
2002-12-05 14:11:41 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FIND
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-10-22 15:28:56 +05:30
|
|
|
This option will allow find to restrict searches to a single
|
2003-07-15 00:48:43 +05:30
|
|
|
filesystem.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_FIND_NEWER
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Enable -newer option for comparing file mtimes"
|
2003-01-23 10:57:42 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FIND
|
2003-01-23 10:57:42 +05:30
|
|
|
help
|
|
|
|
Support the 'find -newer' option for finding any files which have
|
|
|
|
a modified time that is more recent than the specified FILE.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_FIND_INUM
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Enable inode number matching (-inum) option"
|
2003-01-23 10:57:42 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FIND
|
2003-01-23 10:57:42 +05:30
|
|
|
help
|
2003-10-22 15:28:56 +05:30
|
|
|
Support the 'find -inum' option for searching by inode number.
|
2003-01-23 10:57:42 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_FIND_EXEC
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Enable (-exec) option allowing execution of commands"
|
2005-10-04 09:04:39 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on FIND
|
2005-10-04 09:04:39 +05:30
|
|
|
help
|
|
|
|
Support the 'find -exec' option for executing commands based upon
|
|
|
|
the files matched.
|
|
|
|
|
2007-02-02 06:47:52 +05:30
|
|
|
config FEATURE_FIND_USER
|
|
|
|
bool "Enable username/uid matching (-user) option"
|
|
|
|
default y
|
|
|
|
depends on FIND
|
|
|
|
help
|
|
|
|
Support the 'find -user' option for searching by username or uid.
|
|
|
|
|
2007-04-05 05:11:35 +05:30
|
|
|
config FEATURE_FIND_GROUP
|
|
|
|
bool "Enable group/gid matching (-group) option"
|
|
|
|
default y
|
|
|
|
depends on FIND
|
|
|
|
help
|
|
|
|
Support the 'find -group' option for searching by group name or gid.
|
|
|
|
|
2007-02-04 22:41:25 +05:30
|
|
|
config FEATURE_FIND_NOT
|
|
|
|
bool "Enable the 'not' (!) operator"
|
|
|
|
default y
|
|
|
|
depends on FIND
|
|
|
|
help
|
2007-04-05 05:11:35 +05:30
|
|
|
Support the '!' operator to invert the test results.
|
|
|
|
If 'Enable full-blown desktop' is enabled, then will also support
|
|
|
|
the non-POSIX notation '-not'.
|
|
|
|
|
|
|
|
config FEATURE_FIND_DEPTH
|
|
|
|
bool "Enable the -depth option"
|
|
|
|
default y
|
|
|
|
depends on FIND
|
|
|
|
help
|
|
|
|
Process each directory's contents before the directory itself.
|
|
|
|
|
|
|
|
config FEATURE_FIND_PAREN
|
|
|
|
bool "Enable parens in options"
|
|
|
|
default y
|
|
|
|
depends on FIND
|
|
|
|
help
|
|
|
|
Enable usage of parens '(' to specify logical order of arguments.
|
|
|
|
|
|
|
|
config FEATURE_FIND_SIZE
|
|
|
|
bool "Enable (-size) option allowing matching for file size"
|
|
|
|
default y
|
|
|
|
depends on FIND
|
|
|
|
help
|
|
|
|
Support the 'find -size' option for searching by file size.
|
|
|
|
|
|
|
|
config FEATURE_FIND_PRUNE
|
|
|
|
bool "Enable (-prune) option allowing to exclude subdirectories"
|
|
|
|
default y
|
|
|
|
depends on FIND
|
|
|
|
help
|
|
|
|
If the file is a directory, dont descend into it. Useful for
|
|
|
|
exclusion .svn and CVS directories.
|
2007-02-04 22:41:25 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config GREP
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "grep"
|
|
|
|
default n
|
|
|
|
help
|
2003-07-05 13:22:35 +05:30
|
|
|
grep is used to search files for a specified pattern.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_GREP_EGREP_ALIAS
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Support extended regular expressions (egrep & grep -E)"
|
2002-12-05 14:11:41 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on GREP
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-07-15 00:48:43 +05:30
|
|
|
Enabled support for extended regular expressions. Extended
|
|
|
|
regular expressions allow for alternation (foo|bar), grouping,
|
|
|
|
and various repetition operators.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_GREP_FGREP_ALIAS
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Alias fgrep to grep -F"
|
2003-04-27 08:13:54 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on GREP
|
2003-04-27 08:13:54 +05:30
|
|
|
help
|
2005-08-01 04:11:05 +05:30
|
|
|
fgrep sees the search pattern as a normal string rather than
|
2003-04-27 08:13:54 +05:30
|
|
|
regular expressions.
|
2005-08-01 04:11:05 +05:30
|
|
|
grep -F is always builtin, this just creates the fgrep alias.
|
2003-04-27 08:13:54 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_GREP_CONTEXT
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Enable before and after context flags (-A, -B and -C)"
|
2002-12-05 14:11:41 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on GREP
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-07-15 01:07:08 +05:30
|
|
|
Print the specified number of leading (-B) and/or trailing (-A)
|
|
|
|
context surrounding our matching lines.
|
|
|
|
Print the specified number of context lines (-C).
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config XARGS
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "xargs"
|
|
|
|
default n
|
|
|
|
help
|
2003-07-05 13:22:35 +05:30
|
|
|
xargs is used to execute a specified command on
|
2004-03-15 13:59:22 +05:30
|
|
|
every item from standard input.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_XARGS_SUPPORT_CONFIRMATION
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Enable prompt and confirmation option -p"
|
2003-10-11 04:45:23 +05:30
|
|
|
default n
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on XARGS
|
2003-10-09 16:36:45 +05:30
|
|
|
help
|
2003-10-11 04:45:23 +05:30
|
|
|
Support prompt the user about whether to run each command
|
|
|
|
line and read a line from the terminal.
|
2003-10-09 16:36:45 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_XARGS_SUPPORT_QUOTES
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Enable support single and double quotes and backslash"
|
2003-10-11 04:45:23 +05:30
|
|
|
default n
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on XARGS
|
2003-10-11 04:45:23 +05:30
|
|
|
help
|
|
|
|
Default xargs unsupport single and double quotes
|
|
|
|
and backslash for can use aruments with spaces.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_XARGS_SUPPORT_TERMOPT
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Enable support options -x"
|
2003-10-11 04:45:23 +05:30
|
|
|
default n
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on XARGS
|
2003-10-11 04:45:23 +05:30
|
|
|
help
|
|
|
|
Enable support exit if the size (see the -s or -n option)
|
|
|
|
is exceeded.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_XARGS_SUPPORT_ZERO_TERM
|
2006-07-03 10:49:44 +05:30
|
|
|
bool "Enable null terminated option -0"
|
2003-10-11 04:45:23 +05:30
|
|
|
default n
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on XARGS
|
2003-10-11 04:45:23 +05:30
|
|
|
help
|
|
|
|
Enable input filenames are terminated by a null character
|
|
|
|
instead of by whitespace, and the quotes and backslash
|
|
|
|
are not special.
|
|
|
|
|
|
|
|
endmenu
|