3
0

Config.in 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  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: NUL-terminated output"
  13. default y
  14. depends on 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 FEATURE_FIND_MTIME
  21. bool "Enable -mtime: modified time matching"
  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 -mmin: modified time matching by minutes"
  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 -perm: permissions matching"
  36. default y
  37. depends on FIND
  38. help
  39. Enable searching based on file permissions.
  40. config FEATURE_FIND_TYPE
  41. bool "Enable -type: file type matching (file/dir/link/...)"
  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 -xdev: 'stay in filesystem'"
  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"
  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: compare file modification times"
  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 -inum: inode number matching"
  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: execute 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 -user: username/uid matching"
  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: group/gid matching"
  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 -depth"
  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: file size matching"
  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: 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: delete files/dirs"
  126. default n
  127. depends on FIND && FEATURE_FIND_DEPTH
  128. help
  129. Support the 'find -delete' option for deleting files and directories.
  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: match pathname with shell pattern"
  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 with 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: security context matching"
  146. default n
  147. depends on FIND && SELINUX
  148. help
  149. Support the 'find -context' option for matching security context.
  150. config FEATURE_FIND_LINKS
  151. bool "Enable -links: link count matching"
  152. default n
  153. depends on FIND
  154. help
  155. Support the 'find -links' option for matching number of links.
  156. config GREP
  157. bool "grep"
  158. default n
  159. help
  160. grep is used to search files for a specified pattern.
  161. config FEATURE_GREP_EGREP_ALIAS
  162. bool "Enable extended regular expressions (egrep & grep -E)"
  163. default y
  164. depends on GREP
  165. help
  166. Enabled support for extended regular expressions. Extended
  167. regular expressions allow for alternation (foo|bar), grouping,
  168. and various repetition operators.
  169. config FEATURE_GREP_FGREP_ALIAS
  170. bool "Alias fgrep to grep -F"
  171. default y
  172. depends on GREP
  173. help
  174. fgrep sees the search pattern as a normal string rather than
  175. regular expressions.
  176. grep -F always works, this just creates the fgrep alias.
  177. config FEATURE_GREP_CONTEXT
  178. bool "Enable before and after context flags (-A, -B and -C)"
  179. default y
  180. depends on GREP
  181. help
  182. Print the specified number of leading (-B) and/or trailing (-A)
  183. context surrounding our matching lines.
  184. Print the specified number of context lines (-C).
  185. config XARGS
  186. bool "xargs"
  187. default n
  188. help
  189. xargs is used to execute a specified command for
  190. every item from standard input.
  191. config FEATURE_XARGS_SUPPORT_CONFIRMATION
  192. bool "Enable -p: prompt and confirmation"
  193. default n
  194. depends on XARGS
  195. help
  196. Support -p: prompt the user whether to run each command
  197. line and read a line from the terminal.
  198. config FEATURE_XARGS_SUPPORT_QUOTES
  199. bool "Enable single and double quotes and backslash"
  200. default n
  201. depends on XARGS
  202. help
  203. Support quoting in the input.
  204. config FEATURE_XARGS_SUPPORT_TERMOPT
  205. bool "Enable -x: exit if -s or -n is exceeded"
  206. default n
  207. depends on XARGS
  208. help
  209. Support -x: exit if the command size (see the -s or -n option)
  210. is exceeded.
  211. config FEATURE_XARGS_SUPPORT_ZERO_TERM
  212. bool "Enable -0: NUL-terminated input"
  213. default n
  214. depends on XARGS
  215. help
  216. Support -0: input items are terminated by a NUL character
  217. instead of whitespace, and the quotes and backslash
  218. are not special.
  219. endmenu