aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/sed.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/sed.test b/tests/sed.test
index 8c5bb5d4..eff2306a 100755
--- a/tests/sed.test
+++ b/tests/sed.test
@@ -132,6 +132,10 @@ hello'" "merp\nhello\n" "" "merp"
testing "" "sed -e '/x/c\' -e 'y'" 'y\n' '' 'x\n'
testing "" "sed -e 's/a[([]*b/X/'" 'X' '' 'a[(b'
+# You have to match the first line of a range in order to activate
+# the range, numeric and ascii work the same way
+testing "skip start of range" "sed -e n -e '1,2s/b/c/'" "a\nb\n" "" "a\nb\n"
+
#echo meep | sed/sed -e '1a\' -e 'huh'
#echo blah | sed/sed -f <(echo -e "1a\\\\\nboom")
#echo merp | sed/sed "1a\\