blob: 53f2838b1ae65a9ed132e03591e5f05ee26c29d7 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Editors"
7
8INSERT
9
10config AWK
11 bool "awk"
12 default y
13 help
14 Awk is used as a pattern scanning and processing language. This is
15 the BusyBox implementation of that programming language.
16
17config FEATURE_AWK_LIBM
18 bool "Enable math functions (requires libm)"
19 default y
20 depends on AWK
21 help
22 Enable math functions of the Awk programming language.
23 NOTE: This will require libm to be present for linking.
24
xf.li7ccf8372024-03-07 00:08:02 -080025config FEATURE_AWK_GNU_EXTENSIONS
26 bool "Enable a few GNU extensions"
27 default y
28 depends on AWK
29 help
30 Enable a few features from gawk:
31
lh9ed821d2023-04-07 01:36:19 -070032config CMP
33 bool "cmp"
34 default y
35 help
36 cmp is used to compare two files and returns the result
37 to standard output.
38
39config DIFF
40 bool "diff"
41 default y
42 help
43 diff compares two files or directories and outputs the
44 differences between them in a form that can be given to
45 the patch command.
46
47config FEATURE_DIFF_LONG_OPTIONS
48 bool "Enable long options"
49 default y
50 depends on DIFF && LONG_OPTS
51 help
52 Enable use of long options.
53
54config FEATURE_DIFF_DIR
55 bool "Enable directory support"
56 default y
57 depends on DIFF
58 help
59 This option enables support for directory and subdirectory
60 comparison.
61
62config ED
63 bool "ed"
64 default y
65 help
66 The original 1970's Unix text editor, from the days of teletypes.
67 Small, simple, evil. Part of SUSv3. If you're not already using
68 this, you don't need it.
69
70config SED
71 bool "sed"
72 default y
73 help
74 sed is used to perform text transformations on a file
75 or input from a pipeline.
76
77config FEATURE_ALLOW_EXEC
78 bool "Allow vi and awk to execute shell commands"
79 default y
80 depends on VI || AWK
81 help
82 Enables vi and awk features which allows user to execute
83 shell commands (using system() C call).
84
85endmenu