summaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorDenis Vlasenko2008-08-09 16:15:14 +0000
committerDenis Vlasenko2008-08-09 16:15:14 +0000
commit3fd15e197e21aa313ce56126ee814f0ebc884dee (patch)
tree38ac32cdea89bff09017eda0a1836e60f2c06749 /Config.in
parentfb5902ca5cf802557eb1e3c56502a2f5e27242f4 (diff)
downloadbusybox-3fd15e197e21aa313ce56126ee814f0ebc884dee.zip
busybox-3fd15e197e21aa313ce56126ee814f0ebc884dee.tar.gz
grep: option to use GNU regex matching instead of POSIX one.
This fixes problems with NULs in files being scanned, but costs +800 bytes. The same can be done to sed (TODO).
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index 5ad35ce..c2005c7 100644
--- a/Config.in
+++ b/Config.in
@@ -21,6 +21,15 @@ config DESKTOP
Select this only if you plan to use busybox on full-blown
desktop machine with common Linux distro, not on an embedded box.
+config EXTRA_COMPAT
+ bool "Provide compatible behavior for rare corner cases (bigger code)"
+ default n
+ help
+ This option makes grep, sed etc handle rare corner cases
+ (embedded NUL bytes and such). This makes code bigger and uses
+ some GNU extensions in libc. You probably only need this option
+ if you plan to run busybox on desktop.
+
config FEATURE_ASSUME_UNICODE
bool "Assume that 1:1 char/glyph correspondence is not true"
default n