Config.in 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. menu "Finding Utilities"
  6. config FIND
  7. bool "find"
  8. default n
  9. help
  10. find is used to search your system to find specified files.
  11. config FEATURE_FIND_PRINT0
  12. bool "Enable -print0 option"
  13. default y
  14. depends on FIND
  15. help
  16. Causes output names to be separated by a null character
  17. rather than a newline. This allows names that contain
  18. newlines and other whitespace to be more easily
  19. interpreted by other programs.
  20. config FEATURE_FIND_MTIME
  21. bool "Enable modified time matching (-mtime) option"
  22. default y
  23. depends on FIND
  24. help
  25. Allow searching based on the modification time of
  26. files, in days.
  27. config FEATURE_FIND_MMIN
  28. bool "Enable modified time matching (-min) option"
  29. default y
  30. depends on FIND
  31. help
  32. Allow searching based on the modification time of
  33. files, in minutes.
  34. config FEATURE_FIND_PERM
  35. bool "Enable permissions matching (-perm) option"
  36. default y
  37. depends on FIND
  38. help
  39. Enable searching based on file permissions.
  40. config FEATURE_FIND_TYPE
  41. bool "Enable filetype matching (-type) option"
  42. default y
  43. depends on FIND
  44. help
  45. Enable searching based on file type (file,
  46. directory, socket, device, etc.).
  47. config FEATURE_FIND_XDEV
  48. bool "Enable stay in filesystem (-xdev) option"
  49. default y
  50. depends on FIND
  51. help
  52. This option will allow find to restrict searches to a single
  53. filesystem.
  54. config FEATURE_FIND_NEWER
  55. bool "Enable -newer option for comparing file mtimes"
  56. default y
  57. depends on FIND
  58. help
  59. Support the 'find -newer' option for finding any files which have
  60. a modified time that is more recent than the specified FILE.
  61. config FEATURE_FIND_INUM
  62. bool "Enable inode number matching (-inum) option"
  63. default y
  64. depends on FIND
  65. help
  66. Support the 'find -inum' option for searching by inode number.
  67. config FEATURE_FIND_EXEC
  68. bool "Enable (-exec) option allowing execution of commands"
  69. default y
  70. depends on FIND
  71. help
  72. Support the 'find -exec' option for executing commands based upon
  73. the files matched.
  74. config GREP
  75. bool "grep"
  76. default n
  77. help
  78. grep is used to search files for a specified pattern.
  79. config FEATURE_GREP_EGREP_ALIAS
  80. bool "Support extended regular expressions (egrep & grep -E)"
  81. default y
  82. depends on GREP
  83. help
  84. Enabled support for extended regular expressions. Extended
  85. regular expressions allow for alternation (foo|bar), grouping,
  86. and various repetition operators.
  87. config FEATURE_GREP_FGREP_ALIAS
  88. bool "Alias fgrep to grep -F"
  89. default y
  90. depends on GREP
  91. help
  92. fgrep sees the search pattern as a normal string rather than
  93. regular expressions.
  94. grep -F is always builtin, this just creates the fgrep alias.
  95. config FEATURE_GREP_CONTEXT
  96. bool "Enable before and after context flags (-A, -B and -C)"
  97. default y
  98. depends on GREP
  99. help
  100. Print the specified number of leading (-B) and/or trailing (-A)
  101. context surrounding our matching lines.
  102. Print the specified number of context lines (-C).
  103. config XARGS
  104. bool "xargs"
  105. default n
  106. help
  107. xargs is used to execute a specified command on
  108. every item from standard input.
  109. config FEATURE_XARGS_SUPPORT_CONFIRMATION
  110. bool "Enable prompt and confirmation option -p"
  111. default n
  112. depends on XARGS
  113. help
  114. Support prompt the user about whether to run each command
  115. line and read a line from the terminal.
  116. config FEATURE_XARGS_SUPPORT_QUOTES
  117. bool "Enable support single and double quotes and backslash"
  118. default n
  119. depends on XARGS
  120. help
  121. Default xargs unsupport single and double quotes
  122. and backslash for can use aruments with spaces.
  123. config FEATURE_XARGS_SUPPORT_TERMOPT
  124. bool "Enable support options -x"
  125. default n
  126. depends on XARGS
  127. help
  128. Enable support exit if the size (see the -s or -n option)
  129. is exceeded.
  130. config FEATURE_XARGS_SUPPORT_ZERO_TERM
  131. bool "Enable null terminated option -0"
  132. default n
  133. depends on XARGS
  134. help
  135. Enable input filenames are terminated by a null character
  136. instead of by whitespace, and the quotes and backslash
  137. are not special.
  138. endmenu