Criveti Mihai scripsit:

> Honestly, can't tell if this is a bug or ed just 'works as designed'.

Working as designed.  Ed doesn't care about the content of the files it
operates on, and the only character it cares about is \n.  Sharp tools
cut, and if your text contains an EOU character, you have only yourself
to blame if your terminal explodes.  If you want something less universal
(and less primitive), use ex.

-- 
John Cowan          http://www.ccil.org/~cowan        co...@ccil.org
We want more school houses and less jails; more books and less arsenals;
more learning and less vice; more constant work and less crime; more
leisure and less greed; more justice and less revenge; in fact, more of
the opportunities to cultivate our better natures.  --Samuel Gompers

_______________________________________________
bug-ed mailing list
bug-ed@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-ed

Reply via email to