Config.in 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  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: NUL-terminated output"
  13. default y
  14. depends on BUSYBOX_FIND
  15. help
  16. Causes output names to be separated by a NUL 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 -mtime: modified time matching"
  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 -mmin: modified time matching by minutes"
  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 -perm: permissions matching"
  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 -type: file type matching (file/dir/link/...)"
  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 -xdev: 'stay in filesystem'"
  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"
  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: compare file modification times"
  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 -inum: inode number matching"
  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_EMPTY
  73. bool "Enable -empty option matching empty files and directories"
  74. default y
  75. depends on BUSYBOX_FIND
  76. help
  77. Support the 'find -empty' option for searching empty files
  78. and directories.
  79. config BUSYBOX_FEATURE_FIND_EXEC
  80. bool "Enable -exec: execute commands"
  81. default y
  82. depends on BUSYBOX_FIND
  83. help
  84. Support the 'find -exec' option for executing commands based upon
  85. the files matched.
  86. config BUSYBOX_FEATURE_FIND_USER
  87. bool "Enable -user: username/uid matching"
  88. default y
  89. depends on BUSYBOX_FIND
  90. help
  91. Support the 'find -user' option for searching by username or uid.
  92. config BUSYBOX_FEATURE_FIND_GROUP
  93. bool "Enable -group: group/gid matching"
  94. default y
  95. depends on BUSYBOX_FIND
  96. help
  97. Support the 'find -group' option for searching by group name or gid.
  98. config BUSYBOX_FEATURE_FIND_NOT
  99. bool "Enable the 'not' (!) operator"
  100. default y
  101. depends on BUSYBOX_FIND
  102. help
  103. Support the '!' operator to invert the test results.
  104. If 'Enable full-blown desktop' is enabled, then will also support
  105. the non-POSIX notation '-not'.
  106. config BUSYBOX_FEATURE_FIND_DEPTH
  107. bool "Enable -depth"
  108. default y
  109. depends on BUSYBOX_FIND
  110. help
  111. Process each directory's contents before the directory itself.
  112. config BUSYBOX_FEATURE_FIND_PAREN
  113. bool "Enable parens in options"
  114. default y
  115. depends on BUSYBOX_FIND
  116. help
  117. Enable usage of parens '(' to specify logical order of arguments.
  118. config BUSYBOX_FEATURE_FIND_SIZE
  119. bool "Enable -size: file size matching"
  120. default y
  121. depends on BUSYBOX_FIND
  122. help
  123. Support the 'find -size' option for searching by file size.
  124. config BUSYBOX_FEATURE_FIND_PRUNE
  125. bool "Enable -prune: exclude subdirectories"
  126. default y
  127. depends on BUSYBOX_FIND
  128. help
  129. If the file is a directory, dont descend into it. Useful for
  130. exclusion .svn and CVS directories.
  131. config BUSYBOX_FEATURE_FIND_DELETE
  132. bool "Enable -delete: delete files/dirs"
  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: match pathname with shell pattern"
  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 with 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: security context matching"
  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 "Enable 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 always works, 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 for
  191. every item from standard input.
  192. config BUSYBOX_FEATURE_XARGS_SUPPORT_CONFIRMATION
  193. bool "Enable -p: prompt and confirmation"
  194. default n
  195. depends on BUSYBOX_XARGS
  196. help
  197. Support -p: prompt the user whether to run each command
  198. line and read a line from the terminal.
  199. config BUSYBOX_FEATURE_XARGS_SUPPORT_QUOTES
  200. bool "Enable single and double quotes and backslash"
  201. default n
  202. depends on BUSYBOX_XARGS
  203. help
  204. Support quoting in the input.
  205. config BUSYBOX_FEATURE_XARGS_SUPPORT_TERMOPT
  206. bool "Enable -x: exit if -s or -n is exceeded"
  207. default n
  208. depends on BUSYBOX_XARGS
  209. help
  210. Support -x: exit if the command size (see the -s or -n option)
  211. is exceeded.
  212. config BUSYBOX_FEATURE_XARGS_SUPPORT_ZERO_TERM
  213. bool "Enable -0: NUL-terminated input"
  214. default y
  215. depends on BUSYBOX_XARGS
  216. help
  217. Support -0: input items are terminated by a NUL character
  218. instead of whitespace, and the quotes and backslash
  219. are not special.
  220. endmenu