What distribution?
(I don't think I've ever used a system that didn't have ed installed by default.)
(I don't think I've ever used a system that didn't have ed installed by default.)
Which is sad because technically POSIX wants ed installed so purely technically, those distros aren't fully POSIX compliant.
It is available in the packages, of course.