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