TODO: add replacement bug reported for ed

Also reported on IRC:

"escaping the delimiter in replacement fails also: s/./\//"
This commit is contained in:
Hiltjo Posthuma 2023-10-29 17:48:13 +01:00
parent 090490b81d
commit 0a82a7d91a
1 changed files with 13 additions and 0 deletions

13
TODO
View File

@ -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
------