I found this with google earler. It’s a great document for anyone getting started with shell scripting, and I’m certain even seasoned veterans can learn a few tips.

Sed - An Introduction