Honestly, can't tell if this is a bug or ed just 'works as designed'. Either way, the test case is appropriate given the significance of today's date :-).
# Summary:
Editing text containing terminal escape codes with `ed` could lead to having said codes interpreted by the terminal - making `ed` unusable (requiring something unwieldy like `vi` or `emacs` to solve the problem).
The outcome is similar to using `cat` on a binary file.
# How to reproduce:
1. Download `
(escape codes could be stripped by mail clients, etc. so it's best to download this test case).