There's two docs on sed. 
 html 
and the older longer 
 manpage