freebsd-questions-local at be-well.ilk.org
Sat Mar 30 14:56:47 UTC 2019
Polytropon <freebsd at edvax.de> writes:
> I think you're confusing vi and ex here (which are the same
> executable), but ed is something different (a different program).
> But I think the reason for this confusion is that using ed
> feels like using vi's ex mode or the ex standalone program. :-)
Because it's described by POSIX, ed(1) is with us to stay. Because it
has non-trivial differences between POSIX and BSD versions (which have
bitten me in the past), I use sed(1) regardless of whether ed would have
done the job. I suspect that is a common pattern.
More information about the freebsd-questions