commit 0a82a7d91a039b41f861e399a74da8f7073ed59f
Author:     Hiltjo Posthuma <hil...@codemadness.org>
AuthorDate: Sun Oct 29 17:48:13 2023 +0100
Commit:     Hiltjo Posthuma <hil...@codemadness.org>
CommitDate: Sun Oct 29 17:48:13 2023 +0100

    TODO: add replacement bug reported for ed
    
    Also reported on IRC:
    
    "escaping the delimiter in replacement fails also: s/./\//"

diff --git a/TODO b/TODO
index 3b60785..a78cf8b 100644
--- a/TODO
+++ b/TODO
@@ -55,6 +55,19 @@ ed
     .
     1g/^$/p
 * 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