Config.in 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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 (-mmin) 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 allows find to restrict searches to a single filesystem.
  53. config FEATURE_FIND_MAXDEPTH
  54. bool "Enable -maxdepth N option"
  55. default y
  56. depends on FIND
  57. help
  58. This option enables -maxdepth N option.
  59. config FEATURE_FIND_NEWER
  60. bool "Enable -newer option for comparing file mtimes"
  61. default y
  62. depends on FIND
  63. help
  64. Support the 'find -newer' option for finding any files which have
  65. a modified time that is more recent than the specified FILE.
  66. config FEATURE_FIND_INUM
  67. bool "Enable inode number matching (-inum) option"
  68. default y
  69. depends on FIND
  70. help
  71. Support the 'find -inum' option for searching by inode number.
  72. config FEATURE_FIND_EXEC
  73. bool "Enable (-exec) option allowing execution of commands"
  74. default y
  75. depends on FIND
  76. help
  77. Support the 'find -exec' option for executing commands based upon
  78. the files matched.
  79. config FEATURE_FIND_USER
  80. bool "Enable username/uid matching (-user) option"
  81. default y
  82. depends on FIND
  83. help
  84. Support the 'find -user' option for searching by username or uid.
  85. config FEATURE_FIND_GROUP
  86. bool "Enable group/gid matching (-group) option"
  87. default y
  88. depends on FIND
  89. help
  90. Support the 'find -group' option for searching by group name or gid.
  91. config FEATURE_FIND_NOT
  92. bool "Enable the 'not' (!) operator"
  93. default y
  94. depends on FIND
  95. help
  96. Support the '!' operator to invert the test results.
  97. If 'Enable full-blown desktop' is enabled, then will also support
  98. the non-POSIX notation '-not'.
  99. config FEATURE_FIND_DEPTH
  100. bool "Enable the -depth option"
  101. default y
  102. depends on FIND
  103. help
  104. Process each directory's contents before the directory itself.
  105. config FEATURE_FIND_PAREN
  106. bool "Enable parens in options"
  107. default y
  108. depends on FIND
  109. help
  110. Enable usage of parens '(' to specify logical order of arguments.
  111. config FEATURE_FIND_SIZE
  112. bool "Enable (-size) option allowing matching for file size"
  113. default y
  114. depends on FIND
  115. help
  116. Support the 'find -size' option for searching by file size.
  117. config FEATURE_FIND_PRUNE
  118. bool "Enable (-prune) option allowing to exclude subdirectories"
  119. default y
  120. depends on FIND
  121. help
  122. If the file is a directory, dont descend into it. Useful for
  123. exclusion .svn and CVS directories.
  124. config FEATURE_FIND_DELETE
  125. bool "Enable -delete option allowing to delete files"
  126. default n
  127. depends on FIND && FEATURE_FIND_DEPTH
  128. help
  129. Support the 'find -delete' option for deleting files and direcotries.
  130. WARNING: This option can do much harm if used wrong. Busybox will not
  131. try to protect the user from doing stupid things. Use with care.
  132. config FEATURE_FIND_PATH
  133. bool "Enable -path option allowing to match pathname patterns"
  134. default y
  135. depends on FIND
  136. help
  137. The -path option matches whole pathname instead of just filename.
  138. config FEATURE_FIND_REGEX
  139. bool "Enable -regex: match pathname to regex"
  140. default y
  141. depends on FIND
  142. help
  143. The -regex option matches whole pathname against regular expression.
  144. config FEATURE_FIND_CONTEXT
  145. bool "Enable (-context) option for matching security context"
  146. default n
  147. depends on FIND && SELINUX
  148. help
  149. Support the 'find -context' option for matching security context.
  150. config GREP
  151. bool "grep"
  152. default n
  153. help
  154. grep is used to search files for a specified pattern.
  155. config FEATURE_GREP_EGREP_ALIAS
  156. bool "Support extended regular expressions (egrep & grep -E)"
  157. default y
  158. depends on GREP
  159. help
  160. Enabled support for extended regular expressions. Extended
  161. regular expressions allow for alternation (foo|bar), grouping,
  162. and various repetition operators.
  163. config FEATURE_GREP_FGREP_ALIAS
  164. bool "Alias fgrep to grep -F"
  165. default y
  166. depends on GREP
  167. help
  168. fgrep sees the search pattern as a normal string rather than
  169. regular expressions.
  170. grep -F is always builtin, this just creates the fgrep alias.
  171. config FEATURE_GREP_CONTEXT
  172. bool "Enable before and after context flags (-A, -B and -C)"
  173. default y
  174. depends on GREP
  175. help
  176. Print the specified number of leading (-B) and/or trailing (-A)
  177. context surrounding our matching lines.
  178. Print the specified number of context lines (-C).
  179. config XARGS
  180. bool "xargs"
  181. default n
  182. help
  183. xargs is used to execute a specified command on
  184. every item from standard input.
  185. config FEATURE_XARGS_SUPPORT_CONFIRMATION
  186. bool "Enable prompt and confirmation option -p"
  187. default n
  188. depends on XARGS
  189. help
  190. Support prompt the user about whether to run each command
  191. line and read a line from the terminal.
  192. config FEATURE_XARGS_SUPPORT_QUOTES
  193. bool "Enable support single and double quotes and backslash"
  194. default n
  195. depends on XARGS
  196. help
  197. Default xargs unsupport single and double quotes
  198. and backslash for can use aruments with spaces.
  199. config FEATURE_XARGS_SUPPORT_TERMOPT
  200. bool "Enable support options -x"
  201. default n
  202. depends on XARGS
  203. help
  204. Enable support exit if the size (see the -s or -n option)
  205. is exceeded.
  206. config FEATURE_XARGS_SUPPORT_ZERO_TERM
  207. bool "Enable null terminated option -0"
  208. default n
  209. depends on XARGS
  210. help
  211. Enable input filenames are terminated by a null character
  212. instead of by whitespace, and the quotes and backslash
  213. are not special.
  214. endmenu