ed & edlin are objectively a UX mess as text editors, but interesting as a DSL, e.g. here is a sed-like script
# open file
1T file.txt
# search for cats
R dogs cats
# quit
E
Here is a grep-like script
# open file
1T file.txt
# search for cats
S cats
# quit
Q♡ 0 ↻ 0I think if there were if-blocks, loops and expressions, you could make interesting edlin scripts.
♡ 0 ↻ 0