From c09b79dc71d986213d37805131b89a135202263e Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 21 Dec 2014 23:17:06 -0600 Subject: Another sed bug. (The e2fsprogs build uses multiple line continuations on the same command.) --- tests/sed.test | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/sed.test') diff --git a/tests/sed.test b/tests/sed.test index 789a1a51..dfc76023 100644 --- a/tests/sed.test +++ b/tests/sed.test @@ -75,6 +75,8 @@ testing "sed c range" "sed '2,4c blah'" "one\nblah\nfive\nsix" "" \ testing "sed c {range}" "sed -e '2,4{c blah' -e '}'" \ "one\nblah\nblah\nblah\nfive\nsix" \ "" "one\ntwo\nthree\nfour\nfive\nsix" +testing "sed c multiple continuation" \ + "sed -e 'c\\' -e 'two\\' -e ''" "two\n\n" "" "hello" 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" -- cgit v1.2.3