[hackers] [sbase] ed: Update TODO || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Thu, 28 Dec 2023 17:05:03 +0100 (CET)

commit 09dc00f9951a5e8b07eb79f0cf6e090d6ef9532d
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Nov 29 21:49:05 2023 +0100
Commit: k0ga <Roberto E. Vargas Caballero k0ga_AT_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
_AT_@ -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;
_AT_@ -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
Received on Thu Dec 28 2023 - 17:05:03 CET

This archive was generated by hypermail 2.3.0 : Thu Dec 28 2023 - 17:12:34 CET