Config.in 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  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 BUSYBOX_FIND
  7. bool "find"
  8. default y
  9. help
  10. find is used to search your system to find specified files.
  11. config BUSYBOX_FEATURE_FIND_PRINT0
  12. bool "Enable -print0 option"
  13. default y
  14. depends on BUSYBOX_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 BUSYBOX_FEATURE_FIND_MTIME
  21. bool "Enable modified time matching (-mtime option)"
  22. default y
  23. depends on BUSYBOX_FIND
  24. help
  25. Allow searching based on the modification time of
  26. files, in days.
  27. config BUSYBOX_FEATURE_FIND_MMIN
  28. bool "Enable modified time matching (-mmin option)"
  29. default y
  30. depends on BUSYBOX_FIND
  31. help
  32. Allow searching based on the modification time of
  33. files, in minutes.
  34. config BUSYBOX_FEATURE_FIND_PERM
  35. bool "Enable permissions matching (-perm option)"
  36. default y
  37. depends on BUSYBOX_FIND
  38. help
  39. Enable searching based on file permissions.
  40. config BUSYBOX_FEATURE_FIND_TYPE
  41. bool "Enable filetype matching (-type option)"
  42. default y
  43. depends on BUSYBOX_FIND
  44. help
  45. Enable searching based on file type (file,
  46. directory, socket, device, etc.).
  47. config BUSYBOX_FEATURE_FIND_XDEV
  48. bool "Enable 'stay in filesystem' option (-xdev)"
  49. default y
  50. depends on BUSYBOX_FIND
  51. help
  52. This option allows find to restrict searches to a single filesystem.
  53. config BUSYBOX_FEATURE_FIND_MAXDEPTH
  54. bool "Enable -maxdepth N option"
  55. default y
  56. depends on BUSYBOX_FIND
  57. help
  58. This option enables -maxdepth N option.
  59. config BUSYBOX_FEATURE_FIND_NEWER
  60. bool "Enable -newer option for comparing file mtimes"
  61. default y
  62. depends on BUSYBOX_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 BUSYBOX_FEATURE_FIND_INUM
  67. bool "Enable inode number matching (-inum option)"
  68. default y
  69. depends on BUSYBOX_FIND
  70. help
  71. Support the 'find -inum' option for searching by inode number.
  72. config BUSYBOX_FEATURE_FIND_EXEC
  73. bool "Enable -exec option allowing execution of commands"
  74. default y
  75. depends on BUSYBOX_FIND
  76. help
  77. Support the 'find -exec' option for executing commands based upon
  78. the files matched.
  79. config BUSYBOX_FEATURE_FIND_USER
  80. bool "Enable username/uid matching (-user option)"
  81. default y
  82. depends on BUSYBOX_FIND
  83. help
  84. Support the 'find -user' option for searching by username or uid.
  85. config BUSYBOX_FEATURE_FIND_GROUP
  86. bool "Enable group/gid matching (-group option)"
  87. default y
  88. depends on BUSYBOX_FIND
  89. help
  90. Support the 'find -group' option for searching by group name or gid.
  91. config BUSYBOX_FEATURE_FIND_NOT
  92. bool "Enable the 'not' (!) operator"
  93. default y
  94. depends on BUSYBOX_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 BUSYBOX_FEATURE_FIND_DEPTH
  100. bool "Enable the -depth option"
  101. default y
  102. depends on BUSYBOX_FIND
  103. help
  104. Process each directory's contents before the directory itself.
  105. config BUSYBOX_FEATURE_FIND_PAREN
  106. bool "Enable parens in options"
  107. default y
  108. depends on BUSYBOX_FIND
  109. help
  110. Enable usage of parens '(' to specify logical order of arguments.
  111. config BUSYBOX_FEATURE_FIND_SIZE
  112. bool "Enable -size option allowing matching for file size"
  113. default y
  114. depends on BUSYBOX_FIND
  115. help
  116. Support the 'find -size' option for searching by file size.
  117. config BUSYBOX_FEATURE_FIND_PRUNE
  118. bool "Enable -prune option allowing to exclude subdirectories"
  119. default y
  120. depends on BUSYBOX_FIND
  121. help
  122. If the file is a directory, dont descend into it. Useful for
  123. exclusion .svn and CVS directories.
  124. config BUSYBOX_FEATURE_FIND_EMPTY
  125. bool "Enable -empty option matching empty files and directories"
  126. default y
  127. depends on BUSYBOX_FIND
  128. help
  129. Support the 'find -empty' option for searching empty files
  130. and directories.
  131. config BUSYBOX_FEATURE_FIND_DELETE
  132. bool "Enable -delete option allowing to delete files"
  133. default y
  134. depends on BUSYBOX_FIND && BUSYBOX_FEATURE_FIND_DEPTH
  135. help
  136. Support the 'find -delete' option for deleting files and directories.
  137. WARNING: This option can do much harm if used wrong. Busybox will not
  138. try to protect the user from doing stupid things. Use with care.
  139. config BUSYBOX_FEATURE_FIND_PATH
  140. bool "Enable -path option allowing to match pathname patterns"
  141. default y
  142. depends on BUSYBOX_FIND
  143. help
  144. The -path option matches whole pathname instead of just filename.
  145. config BUSYBOX_FEATURE_FIND_REGEX
  146. bool "Enable -regex: match pathname to regex"
  147. default y
  148. depends on BUSYBOX_FIND
  149. help
  150. The -regex option matches whole pathname against regular expression.
  151. config BUSYBOX_FEATURE_FIND_CONTEXT
  152. bool "Enable -context option for matching security context"
  153. default n
  154. depends on BUSYBOX_FIND && BUSYBOX_SELINUX
  155. help
  156. Support the 'find -context' option for matching security context.
  157. config BUSYBOX_GREP
  158. bool "grep"
  159. default y
  160. help
  161. grep is used to search files for a specified pattern.
  162. config BUSYBOX_FEATURE_GREP_EGREP_ALIAS
  163. bool "Support extended regular expressions (egrep & grep -E)"
  164. default y
  165. depends on BUSYBOX_GREP
  166. help
  167. Enabled support for extended regular expressions. Extended
  168. regular expressions allow for alternation (foo|bar), grouping,
  169. and various repetition operators.
  170. config BUSYBOX_FEATURE_GREP_FGREP_ALIAS
  171. bool "Alias fgrep to grep -F"
  172. default y
  173. depends on BUSYBOX_GREP
  174. help
  175. fgrep sees the search pattern as a normal string rather than
  176. regular expressions.
  177. grep -F is always builtin, this just creates the fgrep alias.
  178. config BUSYBOX_FEATURE_GREP_CONTEXT
  179. bool "Enable before and after context flags (-A, -B and -C)"
  180. default y
  181. depends on BUSYBOX_GREP
  182. help
  183. Print the specified number of leading (-B) and/or trailing (-A)
  184. context surrounding our matching lines.
  185. Print the specified number of context lines (-C).
  186. config BUSYBOX_XARGS
  187. bool "xargs"
  188. default y
  189. help
  190. xargs is used to execute a specified command on
  191. every item from standard input.
  192. config BUSYBOX_FEATURE_XARGS_SUPPORT_CONFIRMATION
  193. bool "Enable prompt and confirmation option -p"
  194. default n
  195. depends on BUSYBOX_XARGS
  196. help
  197. Support prompt the user about whether to run each command
  198. line and read a line from the terminal.
  199. config BUSYBOX_FEATURE_XARGS_SUPPORT_QUOTES
  200. bool "Enable support single and double quotes and backslash"
  201. default n
  202. depends on BUSYBOX_XARGS
  203. help
  204. Default xargs unsupport single and double quotes
  205. and backslash for can use aruments with spaces.
  206. config BUSYBOX_FEATURE_XARGS_SUPPORT_TERMOPT
  207. bool "Enable support options -x"
  208. default n
  209. depends on BUSYBOX_XARGS
  210. help
  211. Enable support exit if the size (see the -s or -n option)
  212. is exceeded.
  213. config BUSYBOX_FEATURE_XARGS_SUPPORT_ZERO_TERM
  214. bool "Enable null terminated option -0"
  215. default n
  216. depends on BUSYBOX_XARGS
  217. help
  218. Enable input filenames are terminated by a null character
  219. instead of by whitespace, and the quotes and backslash
  220. are not special.
  221. endmenu