Experimental support for embeded newline. (im evil)

Fix segfault when using 'N' with an odd number of lines.
This commit is contained in:
Glenn L McGrath
2003-03-30 03:41:53 +00:00
parent b5b5ac3237
commit 0c51832b60
2 changed files with 64 additions and 10 deletions

View File

@@ -24,6 +24,15 @@ config CONFIG_SED
help
Please submit a patch to add help text for this item.
config CONFIG_FEATURE_SED_EMBEDED_NEWLINE
bool " Embeded newline (EXPERIMENTAL)"
default n
depends on CONFIG_SED
help
This is a hack to allow matching of '\n' in regular expressions.
It works by translating '\n' to "\n" and back.
It may introduce unexpected results if you use "\n" in your text.
config CONFIG_VI
bool "vi"
default n