commit 09dc00f9951a5e8b07eb79f0cf6e090d6ef9532d
Author:     Roberto E. Vargas Caballero <k...@shike2.com>
AuthorDate: Wed Nov 29 21:49:05 2023 +0100
Commit:     k0ga <Roberto E. Vargas Caballero k...@shike2.com>
CommitDate: Thu Dec 28 17:04:13 2023 +0100

    ed: Update TODO
    
    Remove the cases are tested to work correctly now.

diff --git a/TODO b/TODO
index a78cf8b..94b025f 100644
--- a/TODO
+++ b/TODO
@@ -28,10 +28,6 @@ Bugs
 
 ed
 --
-* Multi-line commands don't work in global commands:
-    g/^line/a \
-    line1
-    .
 * cat <<EOF | ed
     0a
     int radix = 16;
@@ -54,19 +50,16 @@ ed
     line
     .
     1g/^$/p
+* cat <<EOF | ed
+i
+foobar1
+foobar2
+.
+1,2s/foo/&\
+&/
+,n
+
 * Editing huge files doesn't work well.
-* Escaping newlines in replacement doesn't work well:
-       % /bin/ed
-       i
-       foobar
-       .
-       s/foo/&\
-       ->
-       ->bar
-       ,p
-       foo
-       ->bar
-       Q
 
 
 printf

Reply via email to