From cb2e4cc6e818114fca195dd0060bca7ec43e62e5 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 5 Apr 2023 17:00:31 -0500 Subject: [PATCH] Add a sed test. --- tests/sed.test | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/sed.test b/tests/sed.test index 59e80fa1..d20fab68 100755 --- a/tests/sed.test +++ b/tests/sed.test @@ -215,6 +215,9 @@ testing 's -z l missing newline' "sed -zn 'N;l'" 'one\\000two$\0' '' 'one\0two' testcmd 'count match' '"s/./&X/4"' '0123X45\n' '' '012345\n' +testcmd 'multiline continuations' '-e c\\ -e line1\\ -e line2' 'line1\nline2\n'\ + '' 'one\n' + # -i with $ last line test #echo meep | sed/sed -e '1a\' -e 'huh' -- 2.39.2