using ed(1)
the packages collection. idiff is taken from "The Unix Programming Environment" by Brian Kernighan and Rob Pike (Prentice-Hall, 1984, ISBN 0-13-937681-X).