Go backward to Detailed ed.
Go up to ed Scripts.

Example `ed' Script
...................

   Here is the output of `diff -e lao tzu' (see Sample diff Input.,
for the complete contents of the two files):

     11a
     They both may be called deep and profound.
     Deeper and more profound,
     The door of all subtleties!
     .
     4c
     The named is the mother of all things.
     
     .
     1,2d