commit 09dc00f9951a5e8b07eb79f0cf6e090d6ef9532d
parent 890f6c2c050149e63efe5b385b104c8383342973
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Wed, 29 Nov 2023 21:49:05 +0100
ed: Update TODO
Remove the cases are tested to work correctly now.
Diffstat:
M | TODO | | | 25 | +++++++++---------------- |
1 file changed, 9 insertions(+), 16 deletions(-)
diff --git 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