|
|
The canonical reference to sed is a technical paper, sed -- a Non-interactive Text Editor, by L. E. McMahon, reprinted in Volume 2 of the UNIX Research System Manual, tenth edition, (Saunders College Publishing, 1992).
As the preceding paper is rather dry, you may prefer to consult the book sed & awk (described above).