4 ms·
patch(1) outputs ed(1) commands. It always worked that way, and it demonstrates the power of the "do one thing and do it well": patch just does the analysis and
by Annatar 10y ago
patch(1) outputs ed(1) commands. It always worked that way, and it demonstrates the power of the "do one thing and do it well": patch just does the analysis and generates the appropriate editting commands, but the editting is passed on to a program specialized for just that: ed(1). It as also a good showcase for UNIX modularity principle.
- protomyth 10y agoIt's a good demonstration up until it turns into an attack vector. Then it violates the "do one thing well" part.