diff options
Diffstat (limited to 'tests/sed.test')
-rwxr-xr-x | tests/sed.test | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/sed.test b/tests/sed.test index 805184e6..8c5bb5d4 100755 --- a/tests/sed.test +++ b/tests/sed.test @@ -117,9 +117,10 @@ testing "sed delimiter in regex [char range] doesn't count" "sed -e 's/[/]//'" \ testing "sed delete regex range start line after trigger" \ "sed -e '/one/,/three/{' -e 'i meep' -e '1D;}'" \ "meep\nmeep\ntwo\nmeep\nthree" "" "one\ntwo\nthree" -testing "sed D further processing depends on whether line is blank" \ - "sed -e '/one/,/three/{' -e 'i meep' -e'N;2D;}'" \ - "meep\nmeep\ntwo\nthree\n" "" "one\ntwo\nthree\n" +testing "sed blank pattern repeats last pattern" \ + "sed -e '/^three/s//abc&def/'" \ + "one two three\nabcthreedef four five\nfive six seven\n" "" \ + "one two three\nthree four five\nfive six seven\n" # Different ways of parsing line continuations |