aboutsummaryrefslogtreecommitdiff
path: root/editors/Config.in
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-09-16 05:25:43 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-09-16 05:25:43 +0000
commit2570b43e829ccfc0f199fe61aafc24b1bd3fc7b1 (patch)
treede00e748021d3078ea21bb90017ded81129cb4bd /editors/Config.in
parent204ff1cea49c958846cd49175fa9318b81b5756f (diff)
downloadbusybox-w32-2570b43e829ccfc0f199fe61aafc24b1bd3fc7b1.tar.gz
busybox-w32-2570b43e829ccfc0f199fe61aafc24b1bd3fc7b1.tar.bz2
busybox-w32-2570b43e829ccfc0f199fe61aafc24b1bd3fc7b1.zip
Configuration option to define wether to follows GNU sed's behaviour
or the posix standard. Put the cleanup code back the way it was.
Diffstat (limited to 'editors/Config.in')
-rw-r--r--editors/Config.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/Config.in b/editors/Config.in
index 14b698f5d..bced12cb1 100644
--- a/editors/Config.in
+++ b/editors/Config.in
@@ -42,6 +42,19 @@ config CONFIG_FEATURE_SED_EMBEDED_NEWLINE
42 It works by translating '\n' to "\n" and back. 42 It works by translating '\n' to "\n" and back.
43 It may introduce unexpected results if you use "\n" in your text. 43 It may introduce unexpected results if you use "\n" in your text.
44 44
45config CONFIG_FEATURE_SED_GNU_COMPATABILITY
46 bool " Behave consistent with GNU sed"
47 default y
48 depends on CONFIG_SED
49 help
50 Where GNU sed doesnt follow the posix standard, do as GNU sed does.
51 Current difference are in
52 - N command with odd number of lines (see GNU sed info page)
53 - Blanks before substitution flags eg.
54 GNU sed interprets 's/a/b/ g' as 's/a/b/g'
55 Standard says 's/a/b/ g' should be 's/a/b/;g'
56 - GNU sed allows blanks between a '!' and the function.
57
45config CONFIG_VI 58config CONFIG_VI
46 bool "vi" 59 bool "vi"
47 default n 60 default n