busybox/findutils/Config.in

247 lines
6.1 KiB
Plaintext
Raw Normal View History

#
# 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
bool "find"
default n
help
find is used to search your system to find specified files.
2006-10-05 15:47:08 +05:30
config FEATURE_FIND_PRINT0
bool "Enable -print0: NUL-terminated output"
2006-05-12 20:17:20 +05:30
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 NUL character
rather than a newline. This allows names that contain
2006-05-12 20:17:20 +05:30
newlines and other whitespace to be more easily
interpreted by other programs.
2006-10-05 15:47:08 +05:30
config FEATURE_FIND_MTIME
bool "Enable -mtime: modified time matching"
default y
2006-10-05 15:47:08 +05:30
depends on FIND
help
Allow searching based on the modification time of
files, in days.
2006-10-05 15:47:08 +05:30
config FEATURE_FIND_MMIN
bool "Enable -mmin: modified time matching by minutes"
default y
2006-10-05 15:47:08 +05:30
depends on FIND
help
Allow searching based on the modification time of
files, in minutes.
2006-10-05 15:47:08 +05:30
config FEATURE_FIND_PERM
bool "Enable -perm: permissions matching"
default y
2006-10-05 15:47:08 +05:30
depends on FIND
help
Enable searching based on file permissions.
2006-10-05 15:47:08 +05:30
config FEATURE_FIND_TYPE
bool "Enable -type: file type matching (file/dir/link/...)"
default y
2006-10-05 15:47:08 +05:30
depends on FIND
help
Enable searching based on file type (file,
directory, socket, device, etc.).
2006-10-05 15:47:08 +05:30
config FEATURE_FIND_XDEV
bool "Enable -xdev: 'stay in filesystem'"
default y
2006-10-05 15:47:08 +05:30
depends on FIND
help
This option allows find to restrict searches to a single filesystem.
config FEATURE_FIND_MAXDEPTH
bool "Enable -maxdepth N"
default y
depends on FIND
help
This option enables -maxdepth N option.
2006-10-05 15:47:08 +05:30
config FEATURE_FIND_NEWER
bool "Enable -newer: compare file modification times"
default y
2006-10-05 15:47:08 +05:30
depends on FIND
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
bool "Enable -inum: inode number matching"
default y
2006-10-05 15:47:08 +05:30
depends on FIND
help
Support the 'find -inum' option for searching by inode number.
2006-10-05 15:47:08 +05:30
config FEATURE_FIND_EXEC
bool "Enable -exec: execute commands"
default y
2006-10-05 15:47:08 +05:30
depends on FIND
help
Support the 'find -exec' option for executing commands based upon
the files matched.
config FEATURE_FIND_USER
bool "Enable -user: username/uid matching"
default y
depends on FIND
help
Support the 'find -user' option for searching by username or uid.
config FEATURE_FIND_GROUP
bool "Enable -group: group/gid matching"
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
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 -depth"
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: file size matching"
default y
depends on FIND
help
Support the 'find -size' option for searching by file size.
config FEATURE_FIND_PRUNE
bool "Enable -prune: 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
config FEATURE_FIND_DELETE
bool "Enable -delete: delete files/dirs"
default n
depends on FIND && FEATURE_FIND_DEPTH
help
2008-10-28 03:00:39 +05:30
Support the 'find -delete' option for deleting files and directories.
WARNING: This option can do much harm if used wrong. Busybox will not
try to protect the user from doing stupid things. Use with care.
config FEATURE_FIND_PATH
bool "Enable -path: match pathname with shell pattern"
default y
depends on FIND
help
The -path option matches whole pathname instead of just filename.
config FEATURE_FIND_REGEX
bool "Enable -regex: match pathname with regex"
default y
depends on FIND
help
The -regex option matches whole pathname against regular expression.
config FEATURE_FIND_CONTEXT
bool "Enable -context: security context matching"
default n
depends on FIND && SELINUX
help
Support the 'find -context' option for matching security context.
2006-10-05 15:47:08 +05:30
config GREP
bool "grep"
default n
help
grep is used to search files for a specified pattern.
2006-10-05 15:47:08 +05:30
config FEATURE_GREP_EGREP_ALIAS
bool "Enable extended regular expressions (egrep & grep -E)"
default y
2006-10-05 15:47:08 +05:30
depends on GREP
help
Enabled support for extended regular expressions. Extended
regular expressions allow for alternation (foo|bar), grouping,
and various repetition operators.
2006-10-05 15:47:08 +05:30
config FEATURE_GREP_FGREP_ALIAS
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
fgrep sees the search pattern as a normal string rather than
2003-04-27 08:13:54 +05:30
regular expressions.
grep -F always works, 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
bool "Enable before and after context flags (-A, -B and -C)"
default y
2006-10-05 15:47:08 +05:30
depends on GREP
help
Print the specified number of leading (-B) and/or trailing (-A)
context surrounding our matching lines.
Print the specified number of context lines (-C).
2006-10-05 15:47:08 +05:30
config XARGS
bool "xargs"
default n
help
xargs is used to execute a specified command for
every item from standard input.
2006-10-05 15:47:08 +05:30
config FEATURE_XARGS_SUPPORT_CONFIRMATION
bool "Enable -p: prompt and confirmation"
default n
2006-10-05 15:47:08 +05:30
depends on XARGS
2003-10-09 16:36:45 +05:30
help
Support -p: prompt the user 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
bool "Enable single and double quotes and backslash"
default n
2006-10-05 15:47:08 +05:30
depends on XARGS
help
Support quoting in the input.
2006-10-05 15:47:08 +05:30
config FEATURE_XARGS_SUPPORT_TERMOPT
bool "Enable -x: exit if -s or -n is exceeded"
default n
2006-10-05 15:47:08 +05:30
depends on XARGS
help
Support -x: exit if the command size (see the -s or -n option)
is exceeded.
2006-10-05 15:47:08 +05:30
config FEATURE_XARGS_SUPPORT_ZERO_TERM
bool "Enable -0: NUL-terminated input"
default n
2006-10-05 15:47:08 +05:30
depends on XARGS
help
Support -0: input items are terminated by a NUL character
instead of whitespace, and the quotes and backslash
are not special.
endmenu